List and retrieve diffs with detailed revision information

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

{
    "id": 1099506,
    "revision": {
        "id": 505146,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "07870a914f6decb61202744058469ca661d17af0",
        "head_changeset": "8cfb3cfb1191f5b99505f70a0830d8b37e8113f3",
        "phabricator_id": 259538,
        "phabricator_phid": "PHID-DREV-vb4vhrvuqltcrfkx6bhb",
        "title": "Bug 1971780 - [wdspec] Add fixture to add network data collector",
        "bugzilla_id": 1971780,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/505146/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/505146/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D259538"
    },
    "phid": "PHID-DIFF-lr2edptcdjj4dxzcuf2h",
    "review_task_id": "DaTK1fgpTWmJy-_xIC0EaQ",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "b8bfcebc062e80b739c483517c8c554018845d3e",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1099506/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-08-01T10:41:06.592328Z"
}