List and retrieve diffs with detailed revision information

GET /v1/diff/1075438/?format=api
HTTP 200 OK
Allow: GET, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "id": 1075438,
    "revision": {
        "id": 488579,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "bd960f56caef55577124a0a19e2bb2d1c3cc04dc",
        "head_changeset": "2898397d50e275ff77bc632829ec842b21c998ed",
        "phabricator_id": 255539,
        "phabricator_phid": "PHID-DREV-vxkqkn4ciltxu4avodwg",
        "title": "Bug 1960567 - remove the already migrated NETWORK_HTTP_REDIRECT_TO_SCHEME keyed categorical histogram, r=chutten.",
        "bugzilla_id": 1960567,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/488579/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/488579/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D255539"
    },
    "phid": "PHID-DIFF-ojbtn2bqzdkta5tscqzg",
    "review_task_id": "H3W5pUIHTvW4yFxc0kk4xQ",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "2898397d50e275ff77bc632829ec842b21c998ed",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1075438/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-30T20:00:51.250083Z"
}