Get authorization details

Changed on

Returns details of an authorization

get/authorizations/details/{code}

Request

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

Path parameters

codestring required

The code of the authorization

Response

OK

codestring required

The authorization code.

expiresAtstring date-time required

The date and time until which the authorization can be approved / exchanged.

Example response

{
  "permissions": [
    {
      "scope": "denoland"
    }
  ]
}

Changes

    • breaking

      the response property became nullable for the status

    • breaking

      the response property became optional for the status

    • breaking

      added subschema #1 subschema #2 subschema #3 to the / response property oneOf list for the response status

    • info

      removed subschema #1 subschema #2 subschema #3 from the / response property oneOf list for the response status

    • breaking

      added subschema #1 subschema #2 to the / response property oneOf list for the response status