List and retrieve diffs with detailed revision information

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

{
    "id": 1080492,
    "revision": {
        "id": 492892,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "54a511874305807c6646d441a61554600ee79c3e",
        "head_changeset": "7fc15f520ffe6c66ba114f58367d8278d60507af",
        "phabricator_id": 256713,
        "phabricator_phid": "PHID-DREV-6b3vz7zs6jq4mzs3wrse",
        "title": "WIP: Bug 1976570 - [devtools] Speedup debugger with many sources in the same folder.",
        "bugzilla_id": 1976570,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/492892/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/492892/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D256713"
    },
    "phid": "PHID-DIFF-4x64zryufmrkz5yi3frg",
    "review_task_id": "SJ5alAugQK-lzIZz9UF5Sw",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "7fc15f520ffe6c66ba114f58367d8278d60507af",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1080492/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-09T21:00:17.732792Z"
}