List and retrieve diffs with detailed revision information

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

{
    "id": 1047397,
    "revision": {
        "id": 474746,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "30d174015838f8dc4f0c7b4b8ac22980af2c1af1",
        "head_changeset": "c02a2f35ea5ce941740f299aecc42377dc95f0fb",
        "phabricator_id": 248908,
        "phabricator_phid": "PHID-DREV-thfdfgap7sdfnovbmnwj",
        "title": "WIP: Bug 1960904 - Prototype PolicyContainer",
        "bugzilla_id": 1960904,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/474746/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/474746/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D248908"
    },
    "phid": "PHID-DIFF-auhiydinkmkqz3fbv6yi",
    "review_task_id": "GIlmPGe7SxSX55u8H6dXjA",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "a1fa1b36afb164263d91e20bae50f3fcf0f8e391",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1047397/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-05-27T15:51:23.759914Z"
}