List and retrieve diffs with detailed revision information

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

{
    "id": 1102768,
    "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-kvhwzvfaj6eaqedvldmv",
    "review_task_id": "E-NMfYE0RF-_7y288cPCxg",
    "repository": {
        "id": 1002,
        "slug": "try-comm-central",
        "url": "https://hg.mozilla.org/try-comm-central"
    },
    "mercurial_hash": "151634a1757724adc6e31b88cf706e2770b82147",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1102768/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-08-07T19:18:18.022056Z"
}