List and retrieve diffs with detailed revision information

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

{
    "id": 1073652,
    "revision": {
        "id": 469436,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "6fa17a3bab86becb8ab79919cf412916e0fa4e03",
        "head_changeset": "6785fdc5779b4e307f0edda6fd243475545c7981",
        "phabricator_id": 229650,
        "phabricator_phid": "PHID-DREV-pjg43wqqfcw3v6exme3j",
        "title": "Bug 1820594 - Part 34: Update JS Shell implementation for HostLoadImportedModule",
        "bugzilla_id": 1820594,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/469436/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/469436/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D229650"
    },
    "phid": "PHID-DIFF-rjpiea2p7rpmosacqprh",
    "review_task_id": "KKmwo1NjTwG4u36O5bnwIg",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "9347f16e4e5ec9a713643eb5fbd21e5a5c747c2e",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1073652/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-26T19:29:54.752901Z"
}