Github API - Test Config

POST /applications/{client_id}/token/scoped
apps

Use a non-scoped user-to-server access token to create a repository scoped and/or permission scoped user-to-server access token. You can specify which repositories the token can access and which permissions are granted to the token. You must use Basic Authentication when accessing this endpoint, using the client_id and client_secret of the GitHub App as the username and password. Invalid tokens will return 404 NOT FOUND.
Create a scoped access token

Arguments
key client-id

client-id [scalar]

The client ID of the GitHub app.

API:
Github Open API
(version: 1.1.4)

Returns
200 application/json authorization

authorization [object]

The authorization for an OAuth app, GitHub App, or a Personal Access Token.

Attributes
app 1918

created_at string

expires_at string

fingerprint string

hashed_token string

id integer

note string

note_url string

scopes string []

token string

token_last_eight string

updated_at string

url string

API:
Github Open API
(version: 1.1.4)
401 requires_authentication

requires_authentication [scalar]

Requires authentication

API:
Github Open API
(version: 1.1.4)
403 forbidden

forbidden [scalar]

Forbidden

API:
Github Open API
(version: 1.1.4)
404 not_found

not_found [scalar]

Resource not found

API:
Github Open API
(version: 1.1.4)
422 validation_failed

validation_failed [scalar]

Validation failed, or the endpoint has been spammed.

API:
Github Open API
(version: 1.1.4)
API:
Github Open API
(version: 1.1.4)