List and retrieve diffs with detailed revision information

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

{
    "id": 1112055,
    "revision": {
        "id": 521199,
        "base_repository": "https://hg.mozilla.org/comm-unified",
        "head_repository": "https://hg.mozilla.org/try-comm-central",
        "base_changeset": "ce47d913983c57a7b48d8a0f08e431b5dd7ab732",
        "head_changeset": "4faf44ccc5c94cf619b9a2c13460f448e7323276",
        "phabricator_id": 262594,
        "phabricator_phid": "PHID-DREV-65hbktu37f6pampemk2o",
        "title": "Bug 1985316 - Update all csp's to include moz-src. r=#thunderbird-reviewers",
        "bugzilla_id": 1985316,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/521199/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/521199/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D262594"
    },
    "phid": "PHID-DIFF-z7dkt4ndo6w2bqlpjsy6",
    "review_task_id": "dc1FA2JcRpCITSiW8_9XXQ",
    "repository": {
        "id": 1002,
        "slug": "try-comm-central",
        "url": "https://hg.mozilla.org/try-comm-central"
    },
    "mercurial_hash": "4faf44ccc5c94cf619b9a2c13460f448e7323276",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1112055/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-08-26T16:33:02.026307Z"
}