List and retrieve diffs with detailed revision information

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

{
    "id": 1039970,
    "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-qj7zn5ai4mgxtzb6bntr",
    "review_task_id": "fRp7OWgoSAurYs1-gV083A",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "465664384bbe71e2533300a35e2a3fd462f27996",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1039970/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-05-21T17:15:26.643393Z"
}