List and retrieve diffs with detailed revision information

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

{
    "id": 1053400,
    "revision": {
        "id": 477223,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "b2d46ad1f8b2f0457540861175c57e5a81d00df6",
        "head_changeset": "53536b72e3fa4b55310001c93c59a7b95a8bea0e",
        "phabricator_id": 252311,
        "phabricator_phid": "PHID-DREV-g7da3vrd2rxiepnm74mw",
        "title": "Bug 1970093 - make Mark Striemer the owner of Firefox Settings UI module, r?mossop",
        "bugzilla_id": 1970093,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/477223/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/477223/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D252311"
    },
    "phid": "PHID-DIFF-6ruhbr455gemhlyaalwg",
    "review_task_id": "KUsNEBDHQ7qDfCwL_NcpsQ",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "d6abe27dcb75d7d2b0da70225867325ed6a000a1",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1053400/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-05T11:49:47.006389Z"
}