List authenticated user's scope invites

Changed on

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

get/user/invites

Request

  • Base URL
    https://api.jsr.io
  • Auth
    HTTP bearer

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

    • breaking

      the response property ////// became nullable for the status

    • breaking

      removed the required property / from the response with the status

    • warning

      removed the optional property ////// from the response with the status

    • warning

      removed the optional property ////// from the response with the status

    • warning

      removed the optional property ////// from the response with the status

    • warning

      removed the optional property ////// from the response with the status

    • warning

      removed the optional property ////// from the response with the status

    • warning

      removed the optional property ////// from the response with the status

    • info

      the / 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

    • info

      added the required property / to the response with the status