Github API - Test Config

GET /user/gpg_keys/{gpg_key_id}
users

View extended details for a single GPG key. Requires that you are authenticated via Basic Auth or via OAuth with at least read:gpg_key scope.
Get a GPG key for the authenticated user

Arguments
key gpg-key-id

gpg-key-id [scalar]

The unique identifier of the GPG key.

API:
Github Open API
(version: 1.1.4)

Returns
200 application/json gpg-key

gpg-key [object]

A unique encryption key

Attributes
can_certify boolean

can_encrypt_comms boolean

can_encrypt_storage boolean

can_sign boolean

created_at string

emails 2005 []

expires_at string

id integer

key_id string

name string

primary_key_id integer

public_key string

raw_key string

revoked boolean

subkeys 2006 []

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

not_modified [scalar]

Not modified

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)
API:
Github Open API
(version: 1.1.4)