Snapvisor Docs

List this connection's permissions

List the permission tiers and scopes this connection holds, the accounts it reaches, and for OAuth the app it belongs to. Use it to tell the user what you can do, or before request_scopes.

GET
/me/scopes

List the permission tiers and scopes this connection holds, the accounts it reaches, and for OAuth the app it belongs to. Use it to tell the user what you can do, or before request_scopes.

Authorization

AuthorizationBearer <token>

Authenticate as a user with a personal access token.

Send it as a bearer token in the Authorization header:

Authorization: Bearer <personal-access-token>

Personal access tokens act on behalf of the user that created them and are required by endpoints that perform user actions, such as reviewing builds and posting comments.

In: header

Response Body

application/json

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/me/scopes"
{  "kind": "oauth",  "tiers": [    "read"  ],  "scopes": [    "string"  ],  "client": "string",  "accountSlugs": [    "string"  ]}