List and retrieve diffs with detailed revision information

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

{
    "id": 1099799,
    "revision": {
        "id": 505413,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "ed28bde759c16860d3ee821ad3e4740150099212",
        "head_changeset": "a0a6d0a4fb339bb047dd785ddcfb23aed8b83494",
        "phabricator_id": 259629,
        "phabricator_phid": "PHID-DREV-bvbgmbncmcukayymryj5",
        "title": "Bug 1980685 - Update WebGPU CTS to e0cb07691d8805a6285093d89e3738f1059b7d0c",
        "bugzilla_id": 1980685,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/505413/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/505413/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D259629"
    },
    "phid": "PHID-DIFF-25cmubhtxevrsa6ucwhh",
    "review_task_id": "ELQuXrVTTjKt-tDJBSGGbw",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "a0a6d0a4fb339bb047dd785ddcfb23aed8b83494",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1099799/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-08-01T19:06:08.877036Z"
}