List and retrieve diffs with detailed revision information

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

{
    "id": 1097224,
    "revision": {
        "id": 499040,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "0e2e18ac7819dd16b7e078935f2ae2c6ec2d216f",
        "head_changeset": "3a11418c3b6f808b18df0ab57ad50fed881c4e30",
        "phabricator_id": 229916,
        "phabricator_phid": "PHID-DREV-xp3figalfz2rhcrspj3u",
        "title": "WIP: Bug 1932875 - Use ICU4X for str_normalize.",
        "bugzilla_id": 1932875,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/499040/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/499040/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D229916"
    },
    "phid": "PHID-DIFF-pmwjzefbtvelpxp4oulf",
    "review_task_id": "cbfHgWA7QHGBLJcIDCyQgA",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "e2cf1d8f774b02e6c875f6057cb213b991634019",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1097224/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-29T06:57:57.390446Z"
}