List and retrieve diffs with detailed revision information

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

{
    "id": 1057870,
    "revision": {
        "id": 478313,
        "base_repository": "https://hg.mozilla.org/comm-unified",
        "head_repository": "https://hg.mozilla.org/try-comm-central",
        "base_changeset": "bdd8a4285af9b60a3e2f9b5917abac0c5e01d2ab",
        "head_changeset": "64223fedad818253046f325ebdcbaf3c64bf6d0c",
        "phabricator_id": 253551,
        "phabricator_phid": "PHID-DREV-kkad6evagavdgdufsjdc",
        "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/478313/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/478313/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D253551"
    },
    "phid": "PHID-DIFF-6rhucwbmu5c2gdabd4tb",
    "review_task_id": "P3tsPX_oQLG2wb-2775hrw",
    "repository": {
        "id": 1002,
        "slug": "try-comm-central",
        "url": "https://hg.mozilla.org/try-comm-central"
    },
    "mercurial_hash": "64223fedad818253046f325ebdcbaf3c64bf6d0c",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1057870/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-12T19:23:33.863172Z"
}