List and retrieve diffs with detailed revision information

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

{
    "id": 1056905,
    "revision": {
        "id": 477482,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "62ced33bf95ddf15640176f5764d60a79ac09821",
        "head_changeset": "e479896c458748441815614b065815d5ed4f8ede",
        "phabricator_id": 252569,
        "phabricator_phid": "PHID-DREV-ibs3p6hygw63p4v5ft4w",
        "title": "Bug 1965803 - Resolve startup data merging simpleperf and non simpleperf runs. r?#perftest",
        "bugzilla_id": 1965803,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/477482/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/477482/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D252569"
    },
    "phid": "PHID-DIFF-kvbim3y3zce2rcb2zgv3",
    "review_task_id": "eq_ejqSzRuus7wag3dENkQ",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "67289ce5772a5d05a2a26c8b07650ed2235f13b0",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1056905/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-11T16:41:10.240306Z"
}