List and retrieve diffs with detailed revision information

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

{
    "id": 1059370,
    "revision": {
        "id": 479864,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "0e3dfcdead92ede9500a3c94c8ee1c7ecb0756bf",
        "head_changeset": "f814ac7caee840c460a6a21734d0e991257262ee",
        "phabricator_id": 253835,
        "phabricator_phid": "PHID-DREV-sfwy4b34gggznqerywji",
        "title": "Bug 1968573 - Make sure crash pull notification is ready r?afranchuk!",
        "bugzilla_id": 1968573,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/479864/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/479864/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D253835"
    },
    "phid": "PHID-DIFF-up3tlntc3yijezcnwcja",
    "review_task_id": "aGemv4lGSSSnetA8FQN3Lw",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "f814ac7caee840c460a6a21734d0e991257262ee",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1059370/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-16T15:14:53.312074Z"
}