/v1/project/commits
Commits
Provalo dal vivo
10 chiamate gratuite al giorno — senza registrazione, senza chiave API. Passa dal gateway oanor.
Funziona. Prendi una chiave API e usala nel tuo progetto.
Ottieni una chiave APIFrammenti di codice
curl "https://api.oanor.com/gitlab-api/v1/project/commits" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/gitlab-api/v1/project/commits", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/gitlab-api/v1/project/commits");
curl_setopt($ch, CURLOPT_HTTPHEADER, ["x-oanor-key: oanor_test_..."]);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$out = curl_exec($ch);
import requests
requests.get(
"https://api.oanor.com/gitlab-api/v1/project/commits",
headers={"x-oanor-key": "oanor_test_..."}
)
Risposta di esempio
Una risposta reale di questo endpoint, acquisita dall'ultimo health check.
{
"data": [
{
"id": "8f7e4c4732493fae169a9deb6d5e2e270a79d647",
"title": "Merge branch 'eg/optimise-mr-policy-specs' into 'master' ",
"message": "Merge branch 'eg/optimise-mr-policy-specs' into 'master' \n\nOptimize factory usage in ee/spec/policies/merge_request_policy_spec.rb\n\nSee merge request https://gitlab.com/gitlab-org/gitlab/-/merge_requests/237459\n\nMerged-by: Alex Buijs <[email protected]>\nApproved-by: Alex Buijs <[email protected]>\nCo-authored-by: egrieff <[email protected]>",
"web_url": "https://gitlab.com/gitlab-org/gitlab/-/commit/8f7e4c4732493fae169a9deb6d5e2e270a79d647",
"short_id": "8f7e4c47",
"trailers": [],
"created_at": "2026-06-02T18:48:43.000+02:00",
"parent_ids": [
"52142899b9b894fe123a32cca55dd2610670e51d",
"8b21781d88821cd1b5ab827f56a4933e874f450a"
],
"author_name": "Alex Buijs",
"author_email": "[email protected]",
"authored_date": "2026-06-02T18:48:43.000+02:00",
"committed_date": "2026-06-02T18:48:43.000+02:00",
"committer_name": "GitLab",
"committer_email": "[email protected]",
"extended_trailers": []
},
{
"id": "52142899b9b894fe123a32cca55dd2610670e51d",
"title": "Merge branch 'renovate-gems/bootsnap' into 'master' ",
"message": "Merge branch 'renovate-gems/bootsnap' into 'master' \n\nUpdate dependency bootsnap to v1.24.5\n\nSee merge request https://gitlab.com/gitlab-org/gitlab/-/merge_requests/238674\n\nMerged-by: Aleksei Lipniagov <[email protected]>\nApproved-by: Aleksei Lipniagov <[email protected]>\nCo-authored-by: GitLab Renovate Bot <[email protected]>",
"web_url": "https://gitlab.com/gitlab-org/gitlab/-/commit/52142899b9b894fe123a32cca55dd2610670e51d",
"short_id": "52142899",
"trailers": [],
"created_at": "2026-06-02T18:45:49.000+02:00",
"parent_ids": [
"0b9d8fed7ff2914ec1752c461bea48eb8e7c091f",
"42ccc15eabaa4c4fc4664d060f7fa1eabbdf51bc"
],
"author_name": "Aleksei Lipniagov",
"author_email": "[email protected]",
"authored_date": "2026-06-02T18:45:49.000+02:00",
"committed_date": "2026-06-02T18:45:49.000+02:00",
"committer_name": "GitLab",
"committer_email": "[email protected]",
"extended_trailers": []
},
{
"id": "0b9d8fed7ff2914ec1752c461bea48eb8e7c091f",
"title": "Merge branch 'sofea/398183-move-document-reference-to-search-elastic' into 'master' ",
"message": "Merge branch 'sofea/398183-move-document-reference-to-search-elastic' into 'master' \n\nMove Gitlab::Elastic::DocumentReference to Search::Elastic namespace\n\nSee merge request https://gitlab.com/gitlab-org
…