List and retrieve diffs with detailed revision information

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

{
    "id": 1057094,
    "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-ojfpndcw3k27d645l576",
    "review_task_id": "L1vb2l9gQlOuAUe-J7nlHg",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "e9b1b8132140013e964365c912c0f0fceaa6f93c",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1057094/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-11T20:37:11.392325Z"
}