commits
Retrieve a commit signature
Retrieves the signature from a commit, if it is signed. For unsigned commits, it results in a 404 response.
get/api/v4/projects/{id}/repository/commits/{sha}/signature
Request
- Base URLhttps://gitlab.com
- Authnone declared
Path parameters
idstring required
The ID or URL-encoded path of the project
shastring required
A commit sha, or the name of a branch or tag
Response
Retrieve a commit signature
Example response
{
"signature_type": "PGP",
"commit_source": "gitaly"
}Changes
No recorded changes to this operation across all 5 revisions of this API.