List and retrieve diffs with detailed revision information

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

{
    "id": 1089212,
    "revision": {
        "id": 496094,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "b41ceaa0a5c9de46168a8ac4784935d012a6d98b",
        "head_changeset": "ee2d7a012a90478aeaf782a359cb4bf12e2d77b1",
        "phabricator_id": 257454,
        "phabricator_phid": "PHID-DREV-6eavagd736debgwu2l5z",
        "title": "WIP: Bug 1977533 - Fix the ArenaCollection iterator",
        "bugzilla_id": 1977533,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/496094/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/496094/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D257454"
    },
    "phid": "PHID-DIFF-eomfsbnbacbp7t3ifqst",
    "review_task_id": "IW-D5bc2SeCoiwDc7yjpTQ",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "fd206882cb46eadee4f19f86fcf76cf74d4ef920",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1089212/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-21T04:42:28.461069Z"
}