List and retrieve diffs with detailed revision information

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

{
    "id": 1088094,
    "revision": {
        "id": 496559,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "633efe446fbce6547a7d2e646e750c9b9f678153",
        "head_changeset": "ff9dc09c958ce52112a114cf6789e26f82efcda4",
        "phabricator_id": 257570,
        "phabricator_phid": "PHID-DREV-ppp7clyurpapskrpp645",
        "title": "Bug 1977616 - account for shapes with neither fill nor stroke in bounding box calculations r=emilio",
        "bugzilla_id": 1977616,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/496559/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/496559/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D257570"
    },
    "phid": "PHID-DIFF-icv6frjz2l3vpfmcoo4h",
    "review_task_id": "RT38aMr4Th2RwYH7oVGsWA",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "49bbf95b6f91fc2c94ad3b82dd33a9084f131cc7",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1088094/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-17T14:35:18.491583Z"
}