List and retrieve diffs with detailed revision information

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

{
    "id": 1099899,
    "revision": {
        "id": 503582,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "2ea6d2269b5c30f23edce29f980b85dde8ca4ce1",
        "head_changeset": "7b28adb636963cb2b699ae7f407927c9c45ca2d5",
        "phabricator_id": 259140,
        "phabricator_phid": "PHID-DREV-jyvawpq47btb6pn4uzw7",
        "title": "Bug 1971408 - Part 2 - Update `TabsTrayFab`'s design and change the Sync FAB to instead open a Normal tab",
        "bugzilla_id": 1971408,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/503582/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/503582/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D259140"
    },
    "phid": "PHID-DIFF-2x3affn3exenfpxktrl4",
    "review_task_id": "b3uj17IQS8W_npZWiNmp0g",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "128dd23d133ed2c21642bb86a71882c48e35ed14",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1099899/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-08-01T23:22:04.393348Z"
}