List and retrieve diffs with detailed revision information

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

{
    "id": 1056598,
    "revision": {
        "id": 478119,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "f16371df0ee005bf1c4fc49829e734080160ee50",
        "head_changeset": "16f114362c2242a3e8b272caeae1c1e3c5c9a53e",
        "phabricator_id": 202331,
        "phabricator_phid": "PHID-DREV-alaem5iazgc5m5nfomli",
        "title": "Bug 1881043 - Part 2: Add HandleCloseFromSystem function r=nalexander,nrishel",
        "bugzilla_id": 1881043,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/478119/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/478119/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D202331"
    },
    "phid": "PHID-DIFF-dc3socnslwwsbmwurvhe",
    "review_task_id": "e27M1tPETS6iOLuoI6g0JQ",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "16f114362c2242a3e8b272caeae1c1e3c5c9a53e",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1056598/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-11T10:42:55.070733Z"
}