List and retrieve diffs with detailed revision information

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

{
    "id": 1054433,
    "revision": {
        "id": 477617,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "a2b64eef7a15587184414c0f2a3a553134a57cb0",
        "head_changeset": "0e5d6d29f81f3e900326da4c309f3e64e7dd2c46",
        "phabricator_id": 252712,
        "phabricator_phid": "PHID-DREV-mfd3okwm5dfaspilnz4b",
        "title": "WIP: Bug 1967659 - [remote] Update docs for Puppeteer patches, as well as .gitignore and .hgignore.",
        "bugzilla_id": 1967659,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/477617/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/477617/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D252712"
    },
    "phid": "PHID-DIFF-na6x4coc2dq3g3fmmm5q",
    "review_task_id": "ZMLRi6EtS6qHvgJ4etCNeA",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "289ea8e772cfaff281db1e21860b1ed116b6c19e",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1054433/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-06T16:20:27.434365Z"
}