List and retrieve diffs with detailed revision information

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

{
    "id": 1057842,
    "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-jdgf352myjioo7pipib4",
    "review_task_id": "OHiJBYcmQg-1TvgHk5UB8w",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "d3dfa4fbc8b4ae0327be27b587a0a39df66fb5ae",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1057842/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-12T17:02:27.591816Z"
}