List and retrieve diffs with detailed revision information

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

{
    "id": 1075298,
    "revision": {
        "id": 486726,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "16ecb9de093bdc813dd7e11b920a7f9138c9da1f",
        "head_changeset": "0280a2672812ffc44339643c8c2ae07c50f001d8",
        "phabricator_id": 255305,
        "phabricator_phid": "PHID-DREV-ewj7r3gkhat4sc5z3joy",
        "title": "Bug 1973033 - Part 9: Update buffer allocator documentation comments r?sfink",
        "bugzilla_id": 1973033,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/486726/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/486726/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D255305"
    },
    "phid": "PHID-DIFF-kwspbyt2if2t5l5efal5",
    "review_task_id": "O5obQY6DTf-H1V0JjJle-Q",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "329a69c0c8f9740d1af859c0a7386dd49a61be08",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1075298/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-30T16:38:14.865563Z"
}