List and retrieve diffs with detailed revision information

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

{
    "id": 1066506,
    "revision": {
        "id": 478275,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "a0beb94e81ff11811f6885087cf3f8352a298dd8",
        "head_changeset": "a56ff4fb91583f3fd6a73d9b651772721b27c33f",
        "phabricator_id": 253504,
        "phabricator_phid": "PHID-DREV-ml55tgtdbkgprmbt72y7",
        "title": "Bug 1970388 - Part 1: Add more info to EnvironmentObject::dump. r?bthrall!",
        "bugzilla_id": 1970388,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/478275/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/478275/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D253504"
    },
    "phid": "PHID-DIFF-2234kgsfkxrwfc3ebdv2",
    "review_task_id": "Go5ibYf_RLSvKYCFev3HPQ",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "d9e830065f062afeecf0e669693b9d86d7a6f572",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1066506/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-20T06:52:33.905375Z"
}