List and retrieve diffs with detailed revision information

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

{
    "id": 1099304,
    "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-uhsepxwz3llv3e6agwu3",
    "review_task_id": "KrZnGyhsRx6kyJL6Atq8dQ",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "9b9b7ff3ad555de7d7a953954e12622f00d12624",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1099304/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-31T23:13:01.007770Z"
}