List and retrieve diffs with detailed revision information

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

{
    "id": 1042884,
    "revision": {
        "id": 476008,
        "base_repository": "https://hg.mozilla.org/comm-unified",
        "head_repository": "https://hg.mozilla.org/try-comm-central",
        "base_changeset": "4f546eb14406494da9b2d6840b93d26d851c36ad",
        "head_changeset": "bd2d6d89abf91ae9585a35e58e78ec1cb325d2e6",
        "phabricator_id": 250728,
        "phabricator_phid": "PHID-DREV-dznqxp3jvxgq452gzd7j",
        "title": "Bug 1967431 - inline msgHdrPopup.inc.xhtml. r=#thunderbird-reviewers",
        "bugzilla_id": 1967431,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/476008/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/476008/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D250728"
    },
    "phid": "PHID-DIFF-es3rheiq4q5ss5ck6lfy",
    "review_task_id": "P8h-Hk1pQqSdygY4wHE0bQ",
    "repository": {
        "id": 1002,
        "slug": "try-comm-central",
        "url": "https://hg.mozilla.org/try-comm-central"
    },
    "mercurial_hash": "05637b1930df621b0d98db2243110021a113a617",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1042884/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-05-26T11:42:42.795802Z"
}