List and retrieve diffs with detailed revision information

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

{
    "id": 1066499,
    "revision": {
        "id": 482848,
        "base_repository": "https://hg.mozilla.org/comm-unified",
        "head_repository": "https://hg.mozilla.org/try-comm-central",
        "base_changeset": "f6a5cbf256605af1d03d40ce98a57f6c7ebf5105",
        "head_changeset": "59bfb894aad3a5b9ea36f4aa28b8b6ed14e37125",
        "phabricator_id": 254465,
        "phabricator_phid": "PHID-DREV-5t6i7gbuj7irxb2cr5sa",
        "title": "Bug 1878375 - Synchronize vendored Rust libraries with mozilla-central. r=#thunderbird-reviewers",
        "bugzilla_id": 1878375,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/482848/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/482848/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D254465"
    },
    "phid": "PHID-DIFF-ohdl2gcil2erohtlfdud",
    "review_task_id": "WZ1Q_hwESKiOJ7bGpsKZVw",
    "repository": {
        "id": 1002,
        "slug": "try-comm-central",
        "url": "https://hg.mozilla.org/try-comm-central"
    },
    "mercurial_hash": "59bfb894aad3a5b9ea36f4aa28b8b6ed14e37125",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1066499/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-20T05:05:15.335089Z"
}