List and retrieve diffs with detailed revision information

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

{
    "id": 1104673,
    "revision": {
        "id": 509179,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "d1eb95caca71d91fab853631a3eb1cec2c1abdca",
        "head_changeset": "e25cc280840ba3f914fedaaa9115377a538d5cd5",
        "phabricator_id": 260455,
        "phabricator_phid": "PHID-DREV-w6ouadzrwjw24oodlgzr",
        "title": "Bug 1981999 - Migrate browser_policy_extensionsettings.js away from the deprecated InstallTrigger API. r?mkaply!,gregp",
        "bugzilla_id": 1981999,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/509179/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/509179/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D260455"
    },
    "phid": "PHID-DIFF-cpx3fgznrn6rto3ywsey",
    "review_task_id": "ZI0fRnLuTwSvX02bjpz7CQ",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "0b6c6eb0127b2a3e48cd50be0c0cc5cbf6acf01e",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1104673/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-08-12T12:08:02.802731Z"
}