List and retrieve diffs with detailed revision information

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

{
    "id": 1041406,
    "revision": {
        "id": 475601,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "da438059feeadd0ee212d7d621be238fa365bfd0",
        "head_changeset": "a216aef7efb9a1d800dd6012be730b9b3ef5ceee",
        "phabricator_id": 250065,
        "phabricator_phid": "PHID-DREV-45gs4jgl6ibskkteywee",
        "title": "WIP: Bug 1964497 - Hiding QR code button when the device is android automotive",
        "bugzilla_id": 1964497,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/475601/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/475601/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D250065"
    },
    "phid": "PHID-DIFF-x7gkuu47dlqrcw6jvwzq",
    "review_task_id": "Kz5EDf8UT5CyasXHwat2ug",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "500c08feecc61a8b067ceeef3f0928734ef94828",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1041406/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-05-22T18:32:24.187943Z"
}