List and retrieve diffs with detailed revision information

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

{
    "id": 1053953,
    "revision": {
        "id": 477646,
        "base_repository": "https://hg.mozilla.org/comm-unified",
        "head_repository": "https://hg.mozilla.org/try-comm-central",
        "base_changeset": "a8c5bf1d3266b7abe17fc6c8ec7e9c70c6867a12",
        "head_changeset": "72a5cb782c8d1d95dde29c2fa1405e9295e28699",
        "phabricator_id": 252772,
        "phabricator_phid": "PHID-DREV-nk35flghh2iemmaelbft",
        "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/477646/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/477646/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D252772"
    },
    "phid": "PHID-DIFF-nmq4ynh6bcm672t5ln3x",
    "review_task_id": "QA8XI3p2Ss--SukQhL0CGA",
    "repository": {
        "id": 1002,
        "slug": "try-comm-central",
        "url": "https://hg.mozilla.org/try-comm-central"
    },
    "mercurial_hash": "72a5cb782c8d1d95dde29c2fa1405e9295e28699",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1053953/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-05T22:17:00.315723Z"
}