/v1/repo/commits
Commits
Probeer het live
10 gratis calls per dag — geen registratie, geen API-key. Loopt via de oanor-gateway.
Het werkt. Haal een API-key op en gebruik hem in je project.
Verkrijg een API-sleutelCodefragmenten
curl "https://api.oanor.com/github-api/v1/repo/commits" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/github-api/v1/repo/commits", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/github-api/v1/repo/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/github-api/v1/repo/commits",
headers={"x-oanor-key": "oanor_test_..."}
)
Voorbeeldrespons
Een echte respons van dit endpoint, vastgelegd bij de laatste health check.
{
"data": [
{
"sha": "6f3ed7fec72fc8979b2a8c7219c0a9fcfc8d07b5",
"url": "https://api.github.com/repos/torvalds/linux/commits/6f3ed7fec72fc8979b2a8c7219c0a9fcfc8d07b5",
"author": {
"id": 1024025,
"url": "https://api.github.com/users/torvalds",
"type": "User",
"login": "torvalds",
"node_id": "MDQ6VXNlcjEwMjQwMjU=",
"html_url": "https://github.com/torvalds",
"gists_url": "https://api.github.com/users/torvalds/gists{/gist_id}",
"repos_url": "https://api.github.com/users/torvalds/repos",
"avatar_url": "https://avatars.githubusercontent.com/u/1024025?v=4",
"events_url": "https://api.github.com/users/torvalds/events{/privacy}",
"site_admin": false,
"gravatar_id": "",
"starred_url": "https://api.github.com/users/torvalds/starred{/owner}{/repo}",
"followers_url": "https://api.github.com/users/torvalds/followers",
"following_url": "https://api.github.com/users/torvalds/following{/other_user}",
"user_view_type": "public",
"organizations_url": "https://api.github.com/users/torvalds/orgs",
"subscriptions_url": "https://api.github.com/users/torvalds/subscriptions",
"received_events_url": "https://api.github.com/users/torvalds/received_events"
},
"commit": {
"url": "https://api.github.com/repos/torvalds/linux/git/commits/6f3ed7fec72fc8979b2a8c7219c0a9fcfc8d07b5",
"tree": {
"sha": "f015b21afc1d74ca5d01c5cd4a5139addea73955",
"url": "https://api.github.com/repos/torvalds/linux/git/trees/f015b21afc1d74ca5d01c5cd4a5139addea73955"
},
"author": {
"date": "2026-06-02T02:55:30Z",
"name": "Linus Torvalds",
"email": "[email protected]"
},
"message": "Merge tag 'for-7.1/dm-fixes-3' of git://git.kernel.org/pub/scm/linux/kernel/git/device-mapper/linux-dm\n\nPull device mapper fix from Mikulas Patocka:\n\n - fix race condition in dm-cache-policy-smq\n\n* tag 'for-7.1/dm-fixes-3' of git://git.kernel.org/pub/scm/linux/kernel/git/device-mapper/linux-dm:\n dm cache policy smq: check allocation under invalidate lock",
"committer": {
"date": "2026-06-02T02:55:30Z",
"name": "Linus Torvalds",
"email": "[email protected]"
},
"verification": {
"reason": "unsigned",
"payload": null,
"verified": false,
"signature": null,
"verified_at": null
},
"comment_count": 1
…