List and retrieve diffs with detailed revision information

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

{
    "id": 1056871,
    "revision": {
        "id": 478062,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "743f1b9d5b0d194d566de3f57ea6f18b9ad8bee2",
        "head_changeset": "c43fc3ccbae13eaed7cec66688f856c97c258d7c",
        "phabricator_id": 253243,
        "phabricator_phid": "PHID-DREV-n53wshqmp3enpmpseace",
        "title": "Bug 1966952: Only enable JS execution timers during top level document loading. r=mgaudet!,smaug!",
        "bugzilla_id": 1966952,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/478062/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/478062/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D253243"
    },
    "phid": "PHID-DIFF-6juiz3qade6h5kfrgb4a",
    "review_task_id": "Gvo-cfBqRveOQNlD5gSOEQ",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "90a961ebfd9043227db47613bb751ea1446f908b",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1056871/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-11T16:10:28.973754Z"
}