List and retrieve diffs with detailed revision information

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

{
    "id": 1085975,
    "revision": {
        "id": 494380,
        "base_repository": "https://hg.mozilla.org/comm-unified",
        "head_repository": "https://hg.mozilla.org/try-comm-central",
        "base_changeset": "4031593033c0833fd362eb8e1c04f9aac163d5a2",
        "head_changeset": "7e3d47cf7e7bc3895781c39965264dba85933d34",
        "phabricator_id": 257076,
        "phabricator_phid": "PHID-DREV-dhpeqp3lvtwppyp25rrr",
        "title": "WIP: Bug 1915211 - Enable configuration of EWS delete model.",
        "bugzilla_id": 1915211,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/494380/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/494380/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D257076"
    },
    "phid": "PHID-DIFF-47pcghjwofkwispkdnii",
    "review_task_id": "FXr5HRHvQgqbi9VSUtxZog",
    "repository": {
        "id": 1002,
        "slug": "try-comm-central",
        "url": "https://hg.mozilla.org/try-comm-central"
    },
    "mercurial_hash": "e7b43bfcbaa45e9cadb38766f0baaed55e921833",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1085975/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-14T19:55:45.494687Z"
}