List and retrieve diffs with detailed revision information

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

{
    "id": 1104335,
    "revision": {
        "id": 510869,
        "base_repository": "https://hg.mozilla.org/comm-unified",
        "head_repository": "https://hg.mozilla.org/try-comm-central",
        "base_changeset": "9a83cfad8c2752f1b4b319e5977a96c688c14981",
        "head_changeset": "58545cfd3d0c6b8a85c2df79e7f6d941bacc45cd",
        "phabricator_id": 260735,
        "phabricator_phid": "PHID-DREV-bbsvd5fqtc2ycatitrim",
        "title": "WIP: Bug 1974446 - mail/components/accountcreation/test/browser/browser_accountHubAddressBook.js | single tracking bug.",
        "bugzilla_id": 1974446,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/510869/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/510869/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D260735"
    },
    "phid": "PHID-DIFF-57yzbbex22zvifiln5ti",
    "review_task_id": "f0OHzEzIR8CEWzL3IMYhvQ",
    "repository": {
        "id": 1002,
        "slug": "try-comm-central",
        "url": "https://hg.mozilla.org/try-comm-central"
    },
    "mercurial_hash": "58545cfd3d0c6b8a85c2df79e7f6d941bacc45cd",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1104335/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-08-11T20:41:25.570530Z"
}