Collaborators and Deploy Keys

Get a deploy key

get/repos/{owner}/{repo}/keys/{id}

Request

  • Base URL
    https://gogs.example.com/api/v1
  • Auth
    API key in header Authorization

Path parameters

ownerstring required

Repository owner

repostring required

Repository name

idstring required

Key ID

Response

Success

idinteger
keystring
urlstring
titlestring
created_atstring date-time
read_onlyboolean

Changes

No recorded changes to this operation across all 3 revisions of this API.