Skip to content

Retrieve a public key for a remote mirror

GET
/api/v4/projects/{id}/remote_mirrors/{mirror_id}/public_key

Retrieves the public key of a specified remote mirror that uses SSH authentication.

id
required
One of:
string

The ID or URL-encoded path of the project

mirror_id
required
string

The ID of a remote mirror

OK

Bad Request

Unauthorized

Not found