List and retrieve diffs with detailed revision information

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

{
    "id": 1086537,
    "revision": {
        "id": 495869,
        "base_repository": "https://hg.mozilla.org/comm-unified",
        "head_repository": "https://hg.mozilla.org/try-comm-central",
        "base_changeset": "220df7d5e5bee66f06e44f55c9eaf50ca60866d4",
        "head_changeset": "bdefb428f04d59238b1a84130196b3fcc24861c4",
        "phabricator_id": 257303,
        "phabricator_phid": "PHID-DREV-2ai7wurjtj63qv2qhmlt",
        "title": "Bug 1974153 - Adapt merge_automation changes to work with treescript. r=#thunderbuild",
        "bugzilla_id": 1974153,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/495869/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/495869/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D257303"
    },
    "phid": "PHID-DIFF-pw4etuiecc7rkhufbhdk",
    "review_task_id": "HWxwfVcLQxy7pRFj6aDZTg",
    "repository": {
        "id": 1002,
        "slug": "try-comm-central",
        "url": "https://hg.mozilla.org/try-comm-central"
    },
    "mercurial_hash": "a02f3dd9241de28b7f926284dcf0fb0a1a98d6f9",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1086537/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-15T19:44:39.681881Z"
}