List and retrieve diffs with detailed revision information

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

{
    "id": 1109813,
    "revision": {
        "id": 517490,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "b4642edaad5a2dd6fdd6e70d304fcc20b74d6398",
        "head_changeset": "870b862da0922799f876ff712c2b3d4fd9f0d9cb",
        "phabricator_id": 262003,
        "phabricator_phid": "PHID-DREV-ol6y4zxlz6whaiywgl4f",
        "title": "Bug 1728364 - add RTCAudioSourceStats to PeerConnection stats mochitest;r=bwc",
        "bugzilla_id": 1728364,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/517490/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/517490/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D262003"
    },
    "phid": "PHID-DIFF-b4vjlcrzqe7cgx4hci7i",
    "review_task_id": "I7R7SEJ7RmeguoObM750Rg",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "870b862da0922799f876ff712c2b3d4fd9f0d9cb",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1109813/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-08-21T22:33:32.342480Z"
}