Web Commits API
- Tier: Free
- Offering: GitLab.com, GitLab Self-Managed, GitLab Dedicated
Use this API to retrieve information about commits created with the Web UI.
Get public signing key
Get the GitLab public key for signing web commits.
GET /web_commits/public_key
If successful, returns 200
and the following
response attribute:
Attribute | Type | Description |
---|---|---|
public_key | string | GitLab public key for signing web commits. |
Example request:
curl --url "https://gitlab.example.com/api/v4/web_commits/public_key"
Example response:
[
{
public_key: "ssh-rsa AAAAB3NzaC1yc2EAAAABJQAAAIEAiPWx6WM4lhHNedGfBpPJNPpZ7yKu+dnn1SJejgt4596k6YjzGGphH2TUxwKzxcKDKKezwkpfnxPkSMkuEspGRt/aZZ9wa++Oi7Qkr8prgHc4soW6NUlfDzpvZK2H5E7eQaSeP3SAwGmQKUFHCddNaP0L+hM7zhFNzjFvpaMgJw0=\""
}
]
Docs
Edit this page to fix an error or add an improvement in a merge request.
Create an issue to suggest an improvement to this page.
Product
Create an issue if there's something you don't like about this feature.
Propose functionality by submitting a feature request.
Feature availability and product trials
View pricing to see all GitLab tiers and features, or to upgrade.
Try GitLab for free with access to all features for 30 days.
Get help
If you didn't find what you were looking for, search the docs.
If you want help with something specific and could use community support, post on the GitLab forum.
For problems setting up or using this feature (depending on your GitLab subscription).
Request support