List and retrieve diffs with detailed revision information

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

{
    "id": 1067283,
    "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-fu5qbqkampi44syww4s4",
    "review_task_id": "UFlnH9QfSOK66GEdmic4kg",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "6ec3b7382aa64a2797d424c77789ebcd9ba61e14",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1067283/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-23T14:55:05.920871Z"
}