List and retrieve diffs with detailed revision information

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

{
    "id": 1051445,
    "revision": {
        "id": 477172,
        "base_repository": "https://hg.mozilla.org/comm-unified",
        "head_repository": "https://hg.mozilla.org/try-comm-central",
        "base_changeset": "8f8116d9dc3a379e9fce2ef26540559b5e3d99bb",
        "head_changeset": "266381b44c84e1945ac30b18bdbede2135a73886",
        "phabricator_id": 252245,
        "phabricator_phid": "PHID-DREV-yfcqlumb3aev2jod7c7o",
        "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/477172/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/477172/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D252245"
    },
    "phid": "PHID-DIFF-4ei3cmpo7x7bzs7s7rc6",
    "review_task_id": "d6k2V9jgSWKx2L58JYSb9g",
    "repository": {
        "id": 1002,
        "slug": "try-comm-central",
        "url": "https://hg.mozilla.org/try-comm-central"
    },
    "mercurial_hash": "266381b44c84e1945ac30b18bdbede2135a73886",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1051445/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-02T21:56:13.909164Z"
}