List and retrieve diffs with detailed revision information

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

{
    "id": 1071837,
    "revision": {
        "id": 482734,
        "base_repository": "https://hg.mozilla.org/comm-unified",
        "head_repository": "https://hg.mozilla.org/try-comm-central",
        "base_changeset": "ff74c0f65ad21272682a2a8c2865f152654d265c",
        "head_changeset": "a154c8dce92a4a7eef107b3c88814f244368413d",
        "phabricator_id": 254452,
        "phabricator_phid": "PHID-DREV-saxl2g4gm3lbatgzse5b",
        "title": "Bug 1957591 - Show password prompt when exchange autodiscovery fails. r=vineet!,mkmelin,brendan",
        "bugzilla_id": 1957591,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/482734/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/482734/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D254452"
    },
    "phid": "PHID-DIFF-uzkwyckgi2nymk5cradp",
    "review_task_id": "YaQur_dnTvSBgQZHtIteTA",
    "repository": {
        "id": 1002,
        "slug": "try-comm-central",
        "url": "https://hg.mozilla.org/try-comm-central"
    },
    "mercurial_hash": "9e728f1b6c81fcb9b6d1c722e6352f43971ffec9",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1071837/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-24T21:44:44.531738Z"
}