List and retrieve diffs with detailed revision information

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

{
    "id": 1081011,
    "revision": {
        "id": 493481,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "ece8a72e9f72110aa423a06e6b582e183401520f",
        "head_changeset": "4cfa32e6eeed5e0d22705803356e22424e735dcb",
        "phabricator_id": 256704,
        "phabricator_phid": "PHID-DREV-uq3gjvvsqqrzmjigtb65",
        "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/493481/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/493481/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D256704"
    },
    "phid": "PHID-DIFF-g2ovahbxn5ovkxy2pshq",
    "review_task_id": "DlgB799GRDex2H9vUCd0ag",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "4d2206e14238be497d0258cdaabafc7bf4ac79f3",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1081011/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-10T18:36:26.400218Z"
}