List and retrieve diffs with detailed revision information

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

{
    "id": 1075333,
    "revision": {
        "id": 488488,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "a2c491995021f1664b7587b01e6fab06de941b64",
        "head_changeset": "a9f584bf798439ceb7f3eb854bb8023f181dd93c",
        "phabricator_id": 255494,
        "phabricator_phid": "PHID-DREV-zjguvvm4swkrqvlqzcjq",
        "title": "Bug 1953854 - Overhaul the Linux system symbol scrapers to pick up more packages r=gerard-majax",
        "bugzilla_id": 1953854,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/488488/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/488488/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D255494"
    },
    "phid": "PHID-DIFF-j6pzqe77bgagh44ql6lu",
    "review_task_id": "AXVlYW0qS7-SOPhgwKAbZg",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "a9f584bf798439ceb7f3eb854bb8023f181dd93c",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1075333/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-30T17:09:17.545194Z"
}