List and retrieve diffs with detailed revision information

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

{
    "id": 1073132,
    "revision": {
        "id": 481954,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "0a0fdf753fd6369dbc7c72b7d34b2a94b5438acd",
        "head_changeset": "ab46ba45a2ce89697a4754bd535790d22ffa2af1",
        "phabricator_id": 254310,
        "phabricator_phid": "PHID-DREV-y3ht5trqudrqfsxdqju5",
        "title": "WIP: Bug 1970687 - Introduce a DevToolsTaskManager",
        "bugzilla_id": 1970687,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/481954/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/481954/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D254310"
    },
    "phid": "PHID-DIFF-3arhat523vqjh5wv4r3f",
    "review_task_id": "ZGs_0EI1RpGK92TL1ZDJBA",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "b4bd4397229c9323ae43fb3d81c6f200e3311f8d",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1073132/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-26T08:32:23.551827Z"
}