List and retrieve diffs with detailed revision information

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

{
    "id": 1066094,
    "revision": {
        "id": 479667,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "892e8c91bc4496f0e2879ec2e9d57dc206d53a7d",
        "head_changeset": "73cf60949ee9a41473fb5dc52eaff08707bf386a",
        "phabricator_id": 253806,
        "phabricator_phid": "PHID-DREV-ewkpe76gjts26pko4ntk",
        "title": "Bug 1970739 - Part 1: Update MessageNotificationWorker to fetch and apply Nimbus experiments before attempting to get the next message.",
        "bugzilla_id": 1970739,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/479667/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/479667/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D253806"
    },
    "phid": "PHID-DIFF-lx74smedx2f52gylayed",
    "review_task_id": "SWkKrtQDTveAn36Eh6y_KA",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "56cfe2a73a9e95b261fb81ca1ffc3000c8f12811",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1066094/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-19T15:41:54.835588Z"
}