octokit.rest

List deploy keys

Parameters

string The token will be passed in the authorization header.

string

string

integer Results per page (max 100)

integer Page number of the results to fetch.

Request

GET https://api.github.com/repos///keys
authorization: bearer undefined
accept: application/vnd.github.v3+json
user-agent: octokit.rest


Example Response

Status: 200
[
  {
    "id": 1,
    "key": "ssh-rsa AAA...",
    "url": "https://api.github.com/repos/octocat/Hello-World/keys/1",
    "title": "octocat@octomac",
    "verified": true,
    "created_at": "2014-12-10T15:53:42Z",
    "read_only": true
  }
]

See documentation on GitHub developer guides