Naar de inhoud
GET /v1/repo/commits

Commits

Probeer het live

10 gratis calls per dag — geen registratie, geen API-key. Loopt via de oanor-gateway.

Aangepaste headers (optioneel)
api.oanor.com/bitbucket-api

Het werkt. Haal een API-key op en gebruik hem in je project.

Verkrijg een API-sleutel

Codefragmenten

curl "https://api.oanor.com/bitbucket-api/v1/repo/commits" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/bitbucket-api/v1/repo/commits", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/bitbucket-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/bitbucket-api/v1/repo/commits",
    headers={"x-oanor-key": "oanor_test_..."}
)

Voorbeeldrespons

Een echte respons van dit endpoint, vastgelegd bij de laatste health check.

{
    "data": {
        "next": "https://api.bitbucket.org/2.0/repositories/atlassian/atlassian-event/commits?pagelen=30&page=2&ctx=d617150a8ee9cb6e10fdd662f9a0ae0b",
        "values": [
            {
                "date": "2026-05-13T13:43:05+00:00",
                "hash": "d39478cc0180167a2104323cc78d67fb3716bb24",
                "type": "commit",
                "links": {
                    "diff": {
                        "href": "https://api.bitbucket.org/2.0/repositories/atlassian/atlassian-event/diff/d39478cc0180167a2104323cc78d67fb3716bb24"
                    },
                    "html": {
                        "href": "https://bitbucket.org/atlassian/atlassian-event/commits/d39478cc0180167a2104323cc78d67fb3716bb24"
                    },
                    "self": {
                        "href": "https://api.bitbucket.org/2.0/repositories/atlassian/atlassian-event/commit/d39478cc0180167a2104323cc78d67fb3716bb24"
                    },
                    "patch": {
                        "href": "https://api.bitbucket.org/2.0/repositories/atlassian/atlassian-event/patch/d39478cc0180167a2104323cc78d67fb3716bb24"
                    },
                    "approve": {
                        "href": "https://api.bitbucket.org/2.0/repositories/atlassian/atlassian-event/commit/d39478cc0180167a2104323cc78d67fb3716bb24/approve"
                    },
                    "comments": {
                        "href": "https://api.bitbucket.org/2.0/repositories/atlassian/atlassian-event/commit/d39478cc0180167a2104323cc78d67fb3716bb24/comments"
                    },
                    "statuses": {
                        "href": "https://api.bitbucket.org/2.0/repositories/atlassian/atlassian-event/commit/d39478cc0180167a2104323cc78d67fb3716bb24/statuses"
                    }
                },
                "author": {
                    "raw": "Dhaval Moliya <[email protected]>",
                    "type": "author",
                    "user": {
                        "type": "user",
                        "uuid": "{7ae17a59-32a6-49d2-a9f3-deae9e393e78}",
                        "links": {
                            "html": {
                                "href": "https://bitbucket.org/%7B7ae17a59-32a6-49d2-a9f3-deae9e393e78%7D/"
                            },
                            "self": {
                                "href": "https://api.bitbucket.org/2.0/users/%7B7ae17a59-32a6-49d2-a9f3-deae9e393e78%7D"
                            },
                            "avatar": {
                                "href": "https://avatar-management--avatars.us-west-2.prod.public.atl-paas.net/initials/DM-3.png"
                            }
                        },
                        "nickname": "Dhaval Moliya",
                        "account_id": "638712e2f48fbd9b62d80f99",
                        "display_name": "Dhaval Moliya"
                    }
                },
                "message": "feat:
…