List and retrieve diffs with detailed revision information

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

{
    "id": 1049392,
    "revision": {
        "id": 476795,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "352fe204efcdaf99eb2958f41772de5f6aa679f2",
        "head_changeset": "687cda9d209e40375cd43a743f3cbbc6c4d1d6c3",
        "phabricator_id": 251746,
        "phabricator_phid": "PHID-DREV-tzol4gyramutekw3epdm",
        "title": "Bug 1968707 - Removing android automotive from the manifest",
        "bugzilla_id": 1968707,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/476795/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/476795/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D251746"
    },
    "phid": "PHID-DIFF-ytb5hxsrwrpyv32rjghr",
    "review_task_id": "ZjveONdxSP-rQtn-0ci_EA",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "687cda9d209e40375cd43a743f3cbbc6c4d1d6c3",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1049392/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-05-29T18:16:26.014235Z"
}