List and retrieve diffs with detailed revision information

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

{
    "id": 1104890,
    "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-pspx4j5yny46n5xyo6bf",
    "review_task_id": "C_mMUUNgTBS1tmt-nJOxGg",
    "repository": {
        "id": 1002,
        "slug": "try-comm-central",
        "url": "https://hg.mozilla.org/try-comm-central"
    },
    "mercurial_hash": "80bc439ae3b1bb4ab40ff81e8722f54b0716c755",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1104890/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-08-12T17:41:55.739873Z"
}