List and retrieve diffs with detailed revision information

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

{
    "id": 1102680,
    "revision": {
        "id": 507101,
        "base_repository": "https://hg.mozilla.org/comm-unified",
        "head_repository": "https://hg.mozilla.org/try-comm-central",
        "base_changeset": "c606875adaedc0feaa409e5201f3e2e398c8a2e5",
        "head_changeset": "e8265a5f96b939fa0eb832a2ea36e157d61fb69f",
        "phabricator_id": 260044,
        "phabricator_phid": "PHID-DREV-sublfag6zbu4zwgztfql",
        "title": "WIP: Bug 1931624 - Perform EWS MarkAsJunk operation when messages marked as junk.",
        "bugzilla_id": 1931624,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/507101/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/507101/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D260044"
    },
    "phid": "PHID-DIFF-udqxzx3pr6fabpo5flj5",
    "review_task_id": "Y_ucSYDbTjW8_UJ_z1FVgg",
    "repository": {
        "id": 1002,
        "slug": "try-comm-central",
        "url": "https://hg.mozilla.org/try-comm-central"
    },
    "mercurial_hash": "7453d2e5fefd6824892701370cbd8236b0b71940",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1102680/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-08-07T17:33:08.593257Z"
}