List and retrieve diffs with detailed revision information

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

{
    "id": 1111598,
    "revision": {
        "id": 520789,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "9426f4b06a46e835770956a127c1b8d30c5af7dd",
        "head_changeset": "1e9e4be38e40bf6386ab591fabb4a1bb864422e4",
        "phabricator_id": 262531,
        "phabricator_phid": "PHID-DREV-tu6yc5rq3gnc3ek6ka24",
        "title": "Bug 1598488 - Use document.documentElement.clientHeight rather than window.innerHeight in helper_doubletap_zoom_hscrollable2.html. r?tnikkel",
        "bugzilla_id": 1598488,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/520789/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/520789/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D262531"
    },
    "phid": "PHID-DIFF-ijjofxwywwmzx3dhmvfp",
    "review_task_id": "OZ-UqlcZRwOaUQTeAsCOhw",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "1e9e4be38e40bf6386ab591fabb4a1bb864422e4",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1111598/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-08-26T03:49:34.305156Z"
}