List and retrieve diffs with detailed revision information

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

{
    "id": 1056389,
    "revision": {
        "id": 478085,
        "base_repository": "https://hg.mozilla.org/comm-unified",
        "head_repository": "https://hg.mozilla.org/try-comm-central",
        "base_changeset": "3fd0df28e520fa45b2d61cf1d1905a2a299c3589",
        "head_changeset": "35b51f26e5dddaa51a585f251a37fc17aaed8a8f",
        "phabricator_id": 253277,
        "phabricator_phid": "PHID-DREV-7aoryi5sqnrcondzfusp",
        "title": "WIP: Bug 1971320 - MacOS test failure caused by NNTP test search box layout.",
        "bugzilla_id": 1971320,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/478085/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/478085/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D253277"
    },
    "phid": "PHID-DIFF-yqg6hr6ejfmkpb4zjnl4",
    "review_task_id": "P4f42SXkR8OjfCtDSE6g3w",
    "repository": {
        "id": 1002,
        "slug": "try-comm-central",
        "url": "https://hg.mozilla.org/try-comm-central"
    },
    "mercurial_hash": "b2e0852e8902a6edeefec9a80f0ca629e2e09746",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1056389/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-11T01:53:31.382476Z"
}