Μετάβαση στο περιεχόμενο
GET /v1/repo/commits

Commits

Δοκιμάστε το ζωντανά

10 δωρεάν κλήσεις την ημέρα — χωρίς εγγραφή, χωρίς κλειδί API. Μέσω του gateway του oanor.

Προσαρμοσμένες κεφαλίδες (προαιρετικά)
api.oanor.com/github-api

Δουλεύει. Πάρε ένα κλειδί API και χρησιμοποίησέ το στο έργο σου.

Λάβετε ένα κλειδί API

Αποσπάσματα κώδικα

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_..."}
)

Παράδειγμα απόκρισης

Πραγματική απόκριση αυτού του endpoint, από τον τελευταίο έλεγχο υγείας.

{
    "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
    
…