List and retrieve diffs with detailed revision information

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

{
    "id": 1055915,
    "revision": {
        "id": 477568,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "e1800ff0651761a8450c01c25b84ff0a4ca1cd98",
        "head_changeset": "1748a6d836591bce9ec42f9de0c280f8cd40959b",
        "phabricator_id": 248616,
        "phabricator_phid": "PHID-DREV-7igmei7qvy6qcmxhsbzk",
        "title": "Bug 1970617 - Make calls to DynamicToolbarOffsetChanged and DynamicToolbarMaxHeightChanged available for desktop platforms r=botond,mstange",
        "bugzilla_id": 1970617,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/477568/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/477568/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D248616"
    },
    "phid": "PHID-DIFF-dx4x74wzovyufxx66qad",
    "review_task_id": "SJhEQDh3Sx6vtPJWT4ZxMA",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "35db995314c722c2a3bc567337de23b2327161ba",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1055915/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-10T14:36:12.154299Z"
}