List and retrieve diffs with detailed revision information

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

{
    "id": 1086885,
    "revision": {
        "id": 496077,
        "base_repository": "https://hg.mozilla.org/comm-unified",
        "head_repository": "https://hg.mozilla.org/try-comm-central",
        "base_changeset": "ee5f36ccf323d1c6064c156c128be30a3fb30822",
        "head_changeset": "52c91851126ace40a8c0cebb748086679c736b69",
        "phabricator_id": 257451,
        "phabricator_phid": "PHID-DREV-zgjz36dumjoq752grjgs",
        "title": "WIP: Bug 1975706 - Extend browser_getMessages_badPassword.js test to support EWS.",
        "bugzilla_id": 1975706,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/496077/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/496077/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D257451"
    },
    "phid": "PHID-DIFF-bawq66aexi4umxzhgjnr",
    "review_task_id": "CdmYCFQqSICs-DMmu0Mwgw",
    "repository": {
        "id": 1002,
        "slug": "try-comm-central",
        "url": "https://hg.mozilla.org/try-comm-central"
    },
    "mercurial_hash": "52c91851126ace40a8c0cebb748086679c736b69",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1086885/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-16T02:49:19.876879Z"
}