List and retrieve diffs with detailed revision information

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

{
    "id": 1080282,
    "revision": {
        "id": 492808,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "5581df48e4d2aac763d1096b717cb2ff9c2ef6f5",
        "head_changeset": "7cf02ad187bbeac2115963203532544499c0f2dd",
        "phabricator_id": 256520,
        "phabricator_phid": "PHID-DREV-tggr5viag6vhcuzbjoh7",
        "title": "Bug 1975520 - Prevent universal infobars from appearing in popup or taskbar tab windows",
        "bugzilla_id": 1975520,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/492808/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/492808/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D256520"
    },
    "phid": "PHID-DIFF-dpnfhe7hqrzxfl2gfhq3",
    "review_task_id": "cMme7vFbSvOtactvYdF13g",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "232bcfd135e113d156d3e52c503bfee2c7020175",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1080282/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-09T17:06:01.081662Z"
}