Check if a user follows another user
Path Parameters
Response
Response
if the user follows the target user
Path Parameters
List GPG keys for a user
Lists the GPG keys for a user. This information is accessible by anyone.
Query Parameters
Results per page (max 100)
Default:30
Page number of the results to fetch.
Default:1
Path Parameters
Response
200 application/json
Response
Response
A unique encryption key
Example:3
Example:3262EFF25BA0D270
Example:xsBNBFayYZ...
Example:[{"email":"mastahyeti@users.noreply.github.com","verified":true}]
Show Child Parameters
Example:[{"id":4,"primary_key_id":3,"key_id":"4A595D4C72EE49C7","public_key":"zsBNBFayYZ...","emails":[],"subkeys":[],"can_sign":false,"can_encrypt_comms":true,"can_encrypt_storage":true,"can_certify":false,"created_at":"2016-03-24T11:31:04-06:00","expires_at":null}]
Show Child Parameters
Example:true
Example:true
Example:2016-03-24T11:31:04-06:00
Path Parameters
Query Parameters
Get contextual information for a user
Provides hovercard information when authenticated through basic auth or OAuth with the repo
scope. You can find out more about someone in relation to their pull requests, issues, repositories, and organizations.
The subject_type
and subject_id
parameters provide context for the person’s hovercard, which returns more information than without the parameters. For example, if you wanted to find out more about octocat
who owns the Spoon-Knife
repository via cURL, it would look like this:
curl -u username:token
https://api.github.com/users/octocat/hovercard?subject_type=repository&subject_id=1300192
Query Parameters
Identifies which additional information you’d like to receive about the person’s hovercard. Can be organization
, repository
, issue
, pull_request
. Required when using subject_id
.
Allowed values:organizationrepositoryissuepull_request
Uses the ID for the subject_type
you specified. Required when using subject_type
.
Path Parameters
Response
application/json
Response
Response
Hovercard
Hovercard
Show Child Parameters
Path Parameters
Query Parameters
List public keys for a user
Lists the verified public SSH keys for a user. This is accessible by anyone.
Query Parameters
Results per page (max 100)
Default:30
Page number of the results to fetch.
Default:1
Path Parameters
Response
200 application/json
Response
Response
Key Simple