List and retrieve diffs with detailed revision information

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

{
    "id": 1078120,
    "revision": {
        "id": 490452,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "b336904dc2bca698e99e12d81d0c17e08c1efd2e",
        "head_changeset": "90647efe0456c46d9e08e239f39a6a2597aa117b",
        "phabricator_id": 256048,
        "phabricator_phid": "PHID-DREV-u6f6djoxfshi4ingx4gp",
        "title": "WIP: Bug 1813413 - Make pressing the back button not close the current tab when there's no history",
        "bugzilla_id": 1813413,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/490452/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/490452/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D256048"
    },
    "phid": "PHID-DIFF-a26g2gi3mfp645gwngaw",
    "review_task_id": "ZYBO3V6ER6-4008YH4Feaw",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "708bef1a66a2dd295999314b95f9dd47ea6f698f",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1078120/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-04T15:19:49.926673Z"
}