Retrieve a commit signature
GET
/api/v4/projects/{id}/repository/commits/{sha}/signature
Retrieves the signature from a commit, if it is signed. For unsigned commits, it results in a 404 response.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”Responses
Section titled “Responses”OK
Media typeapplication/json
object
signature_type
string
signature
object
commit_source
string
Example
{ "signature_type": "PGP", "commit_source": "gitaly"}Bad Request
Not found