List and retrieve diffs with detailed revision information

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

{
    "id": 1055995,
    "revision": {
        "id": 476081,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "789198a042fcfe8cff755b1da0e9d3bed635093f",
        "head_changeset": "3515792af7e6d4dc60e7dad4fbad23f62568a3ba",
        "phabricator_id": 250805,
        "phabricator_phid": "PHID-DREV-lbxu6nuhmifm6azwz4e7",
        "title": "WIP: Bug 1953740 - part 8 - Drive the search UX in composable through search middlewares",
        "bugzilla_id": 1953740,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/476081/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/476081/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D250805"
    },
    "phid": "PHID-DIFF-qerebxc2x6e74q7xeoyp",
    "review_task_id": "BRSa_GuTS4et9OV3Dy_vZw",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "eb1346f4445834974ec7c54362125fbbfb80666a",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1055995/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-10T16:25:34.200663Z"
}