List and retrieve diffs with detailed revision information

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

{
    "id": 1078965,
    "revision": {
        "id": 491613,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "f49b8ae6306b58ba91439295d3efe0994862df5c",
        "head_changeset": "b36660187195f7d59eacdac254a3c784206b3baa",
        "phabricator_id": 256336,
        "phabricator_phid": "PHID-DREV-q7pmsylsvnmhzohb2vb5",
        "title": "Bug 1975175 part 1 - allow multiple observers to onchange event of Download r=mak!",
        "bugzilla_id": 1975175,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/491613/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/491613/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D256336"
    },
    "phid": "PHID-DIFF-nuj4c3rwwvithoqcvti4",
    "review_task_id": "E07EG1hLQyq8U331eMJlPg",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "b36660187195f7d59eacdac254a3c784206b3baa",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1078965/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-07T19:03:37.499651Z"
}