List and retrieve diffs with detailed revision information

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

{
    "id": 1086374,
    "revision": {
        "id": 489548,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "e307cbc9354d4430270cab7fb62fa84dfb0e3e29",
        "head_changeset": "644378a85c80377194d397b72e36136ab75f296f",
        "phabricator_id": 255805,
        "phabricator_phid": "PHID-DREV-zuv73jc4m4fn3r7fgps5",
        "title": "Bug 1971817 - [devtools] Clear the source map loader when removing sources. r=#devtools",
        "bugzilla_id": 1971817,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/489548/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/489548/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D255805"
    },
    "phid": "PHID-DIFF-zcm43ibhaxubzqhx3oub",
    "review_task_id": "LECCb52yTr2CK64ok3CNWA",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "f4203da412153bfbafe2422eac005276b45fa03e",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1086374/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-15T15:18:13.069869Z"
}