List and retrieve diffs with detailed revision information

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

{
    "id": 1037693,
    "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-6vdvj7ppf7z3ctvzcqe5",
    "review_task_id": "XkFDMJwlQBGIHo_lBCQE3A",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "09469fad366ef9c10360839cd5341d461394f70c",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1037693/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-05-19T18:18:33.743675Z"
}