List and retrieve diffs with detailed revision information

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

{
    "id": 1080182,
    "revision": {
        "id": 492790,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "4a23fcdaddc979dee6ed14ec99d019fa284c20e5",
        "head_changeset": "30754a732b9203e5d50eefe0b78fba0b4a81d847",
        "phabricator_id": 256641,
        "phabricator_phid": "PHID-DREV-be7ivan42l63ehxayfeb",
        "title": "Bug 1972849 - Add same-site redirect Glean event for search detection r?willdurand",
        "bugzilla_id": 1972849,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/492790/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/492790/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D256641"
    },
    "phid": "PHID-DIFF-kne3okjpnmxf3yx3uu3u",
    "review_task_id": "K0H7Rj6kT1OpAnh7Jk2xsA",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "1eeb4ac2858a994c8f804017d5b81fb07458b114",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1080182/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-09T14:18:56.826906Z"
}