List and retrieve diffs with detailed revision information

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

{
    "id": 1053238,
    "revision": {
        "id": 397586,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "ef784b73994b27ba0ec6984e0b6126c1234d8be4",
        "head_changeset": "8fa3601f018d4a00727065feae560ce26f80a499",
        "phabricator_id": 229076,
        "phabricator_phid": "PHID-DREV-v7k5bvxdqbyl3kmtzypt",
        "title": "Bug 1885221, part 5 - Implement JActor::RecvTyped(). WIP",
        "bugzilla_id": 1885221,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/397586/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/397586/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D229076"
    },
    "phid": "PHID-DIFF-topzx5e3gw2t24crcfum",
    "review_task_id": "WJ_J1l4sTG-3wePjg_D4-A",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "8cee2886ba238711c1359d2bb7784190a65a54f6",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1053238/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-05T00:37:28.842586Z"
}