List and retrieve diffs with detailed revision information

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

{
    "id": 1074329,
    "revision": {
        "id": 486715,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "16ecb9de093bdc813dd7e11b920a7f9138c9da1f",
        "head_changeset": "c9df3c0725499b7b4555f925436d75bae7a30d84",
        "phabricator_id": 255300,
        "phabricator_phid": "PHID-DREV-yjzl5wh43znqxrit23an",
        "title": "Bug 1973033 - Part 5: Allocate small buffers out of medium buffers r?sfink",
        "bugzilla_id": 1973033,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/486715/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/486715/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D255300"
    },
    "phid": "PHID-DIFF-wklbu7c42rdrlr2a36m7",
    "review_task_id": "Z2Unu8ClS9i4ZoXtTXgLPg",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "c9df3c0725499b7b4555f925436d75bae7a30d84",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1074329/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-27T13:43:00.395294Z"
}