List and retrieve diffs with detailed revision information

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

{
    "id": 1073050,
    "revision": {
        "id": 483833,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "f0d0bfd6798309be41a01beeb8b046aa34b53b82",
        "head_changeset": "f9719306b6d0b2f9c344dba956cf9ed683f0cb59",
        "phabricator_id": 254629,
        "phabricator_phid": "PHID-DREV-ltfhh3dqb75q7wudi72c",
        "title": "Bug 1972548 - QM: Add pref to control origin metadata file updates after initialization; r=#dom-storage",
        "bugzilla_id": 1972548,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/483833/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/483833/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D254629"
    },
    "phid": "PHID-DIFF-rg2cmlevqn3qnr6uqbte",
    "review_task_id": "EOMWsA4HT9WxB9mQ7hSZ_g",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "515b970a7abdea7ef9c0710ea3298ff840816159",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1073050/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-26T05:57:19.249502Z"
}