List and retrieve diffs with detailed revision information

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

{
    "id": 1053088,
    "revision": {
        "id": 477501,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "1b04c5ce6710f330b160d5c2e51514e490e411a5",
        "head_changeset": "3f6c4f3894cef0b0757c7c16264456a805b49e84",
        "phabricator_id": 252585,
        "phabricator_phid": "PHID-DREV-bupcbjzi6qu5pdcrvkmk",
        "title": "Bug 1970409 - Always run key recovery when generating a key, r=kaya",
        "bugzilla_id": 1970409,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/477501/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/477501/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D252585"
    },
    "phid": "PHID-DIFF-kakurgrucgqlyn2mzqcq",
    "review_task_id": "coYHy3XRRfSLe6e9GM7C6g",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "3f6c4f3894cef0b0757c7c16264456a805b49e84",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1053088/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-04T21:20:30.378108Z"
}