List and retrieve diffs with detailed revision information

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

{
    "id": 1104139,
    "revision": {
        "id": 510582,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "507b9d6bb01619c22c9324e29d9904c195b4cfe6",
        "head_changeset": "af32d47d4c4bc79e0cb32fffee8cc79580f6bf82",
        "phabricator_id": 260689,
        "phabricator_phid": "PHID-DREV-mwvz74kc6y24moyyrpsw",
        "title": "Bug 1982211 - Sidebar AI chatbot uses legible color on light and dark themes r?#reusable-components-reviewers,#omc-reviewers,emilio",
        "bugzilla_id": 1982211,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/510582/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/510582/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D260689"
    },
    "phid": "PHID-DIFF-ctno45wuccg2fgmc4zuq",
    "review_task_id": "UHKGnlIKShK97f8x-eM9Cg",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "af32d47d4c4bc79e0cb32fffee8cc79580f6bf82",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1104139/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-08-11T14:40:01.912252Z"
}