List and retrieve diffs with detailed revision information

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

{
    "id": 1088211,
    "revision": {
        "id": 490407,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "08a110d7f4cf368977dcbad77016e54383e4b9c8",
        "head_changeset": "5c90eca3b5cb1385234263755a3321e2a00943fd",
        "phabricator_id": 256037,
        "phabricator_phid": "PHID-DREV-m5akacw6j4xun4bds46y",
        "title": "Bug 1961688 - Compute values for breakout perf test instead of using magic numbers. r?jteow",
        "bugzilla_id": 1961688,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/490407/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/490407/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D256037"
    },
    "phid": "PHID-DIFF-jn7ipyaqzcbkveqtmqes",
    "review_task_id": "dmWS5DesSoG_ZMQY32yd5w",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "367424c6ed05ce72c0889f6339bbd5f0ea7257a2",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1088211/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-17T16:34:37.796508Z"
}