List and retrieve diffs with detailed revision information

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

{
    "id": 1080998,
    "revision": {
        "id": 493489,
        "base_repository": "https://hg.mozilla.org/comm-unified",
        "head_repository": "https://hg.mozilla.org/try-comm-central",
        "base_changeset": "6da700026e3fc60a8e3cc1419e7a09b67705a72c",
        "head_changeset": "6f64d8eecf5b36b8165bc10400d30d13611c5c9c",
        "phabricator_id": 256855,
        "phabricator_phid": "PHID-DREV-agwo46zq44y5vc7jxemv",
        "title": "Bug 1976722 - Add esr140 balrog rule ID and drop non-existent 17943. r=#thunderbuild",
        "bugzilla_id": 1976722,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/493489/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/493489/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D256855"
    },
    "phid": "PHID-DIFF-do5rfjsxnprkfgpco3mv",
    "review_task_id": "cjS5m-IGTqm0VfexqdYNvw",
    "repository": {
        "id": 1002,
        "slug": "try-comm-central",
        "url": "https://hg.mozilla.org/try-comm-central"
    },
    "mercurial_hash": "6f64d8eecf5b36b8165bc10400d30d13611c5c9c",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1080998/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-10T18:35:45.887924Z"
}