List authenticated user's scope invites

Returns a list of invites to scopes that the authenticated user has received

get/user/invites

Response

OK

scopestring required

The name of a scope. This must not be @ prefixed.

createdAtstring date-time required

The date and time when the invite was created.

updatedAtstring date-time required

The date and time when the invite was last updated.

Example response

[
  {
    "scope": "denoland",
    "targetUser": {
      "name": "Ryan Dahl",
      "avatarUrl": "https://avatars.githubusercontent.com/u/80?v=4",
      "githubId": 80
    },
    "requestingUser": {
      "name": "Ryan Dahl",
      "avatarUrl": "https://avatars.githubusercontent.com/u/80?v=4",
      "githubId": 80
    }
  }
]

Changes

Changed in 2 of the 15 revisions of this API.3610

  • 0c4e8d8a5c2a262See the full diff
    • the response property items/targetUser/allOf[User]/githubId became nullable for the status 200

      response-property-became-nullable

    • removed the required property items/inviter from the response with the 200 status

      response-required-property-removed

    • removed the optional property items/targetUser/allOf[User]/email from the response with the 200 status

      response-optional-property-removed

    • removed the optional property items/targetUser/allOf[User]/inviteCount from the response with the 200 status

      response-optional-property-removed

    • removed the optional property items/targetUser/allOf[User]/isBlocked from the response with the 200 status

      response-optional-property-removed

    • removed the optional property items/targetUser/allOf[User]/isStaff from the response with the 200 status

      response-optional-property-removed

    • removed the optional property items/targetUser/allOf[User]/scopeLimit from the response with the 200 status

      response-optional-property-removed

    • removed the optional property items/targetUser/allOf[User]/scopeUsage from the response with the 200 status

      response-optional-property-removed

    • the items/scope response's property pattern was changed from /^[a-z][a-z0-9]*(?:-[a-z0-9]+)*$/ to ^[a-z][a-z0-9]*(?:-[a-z0-9]+)*$ for the status 200

      response-property-pattern-changed

    • added the required property items/requestingUser to the response with the 200 status

      response-required-property-added

  • f8d3b912d94618See the full diff
    • removed the required property items/requestingUser from the response with the 200 status

      response-required-property-removed

    • added the optional property items/targetUser/allOf[User]/email to the response with the 200 status

      response-optional-property-added

    • added the optional property items/targetUser/allOf[User]/inviteCount to the response with the 200 status

      response-optional-property-added

    • added the optional property items/targetUser/allOf[User]/isBlocked to the response with the 200 status

      response-optional-property-added

    • added the optional property items/targetUser/allOf[User]/isStaff to the response with the 200 status

      response-optional-property-added

    • added the optional property items/targetUser/allOf[User]/scopeLimit to the response with the 200 status

      response-optional-property-added

    • added the optional property items/targetUser/allOf[User]/scopeUsage to the response with the 200 status

      response-optional-property-added

    • the items/scope response's property pattern was changed from ^[a-z][a-z0-9]*(?:-[a-z0-9]+)*$ to /^[a-z][a-z0-9]*(?:-[a-z0-9]+)*$/ for the status 200

      response-property-pattern-changed

    • added the required property items/inviter to the response with the 200 status

      response-required-property-added

    This revision also has 29 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog