List and retrieve diffs with detailed revision information

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

{
    "id": 1088267,
    "revision": {
        "id": 404074,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "8d0c1e86434a4874502ebfd1c4264c1e1f2b6735",
        "head_changeset": "2745b869832f1e4e3159514c55335564d7b06f70",
        "phabricator_id": 230205,
        "phabricator_phid": "PHID-DREV-ydyhdcrizwpnete62lhg",
        "title": "WIP: Bug 1571470 - add scalabiltyMode to RTCRtpEncodingParameters;r?pehrsons",
        "bugzilla_id": 1571470,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/404074/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/404074/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D230205"
    },
    "phid": "PHID-DIFF-x3sq3q3asia7b7raaqqv",
    "review_task_id": "cjdNQSVtQi2mx6-X0opKmg",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "436ee57e66b1533d2ae5374af6055170056d0af5",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1088267/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-17T18:02:16.209641Z"
}