List and retrieve diffs with detailed revision information

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

{
    "id": 1089297,
    "revision": {
        "id": 495412,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "63caf22449827c84bdf443b6022e1b731ec87b95",
        "head_changeset": "51cf23317e2fdddff0ca87ecc114ccbb9c851f6e",
        "phabricator_id": 257181,
        "phabricator_phid": "PHID-DREV-4solswqk3n26ack2gxyo",
        "title": "Bug 1976259 - Part 2: Separate chunks that are currently in use for allocation from swept chunks available for future allocation r?sfink",
        "bugzilla_id": 1976259,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/495412/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/495412/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D257181"
    },
    "phid": "PHID-DIFF-xyfugrs4cw5xlfkiz6mu",
    "review_task_id": "Aag9tXslQ2G3gWzZc6_4_g",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "df9047f9d41d33fb1add797df8f163b0b6e5c121",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1089297/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-21T08:31:11.119289Z"
}