Git Deploy Key

Version 4.0.24.18

Git Deploy Key

Returns the ssh public key previously created for a project's git repository.

Request

GET /projects/{project_id}/git/deploy_key
Datatype
Description
Request
HTTP Request
path
HTTP Path
Expand HTTP Path definition...
project_id
string
Project Id

Response

200: The text of the public key portion of the deploy_key

Datatype
Description
(string)
string

400: Bad Request

Datatype
Description
(object)
message
string
Error details
documentation_url
string
Documentation link

404: Not Found

Datatype
Description
(object)
message
string
Error details
documentation_url
string
Documentation link

429: Too Many Requests

Datatype
Description
(object)
message
string
Error details
documentation_url
string
Documentation link