List and retrieve diffs with detailed revision information

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

{
    "id": 1065015,
    "revision": {
        "id": 481017,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "aef1fda6be0335afa268920749915c12dc76f9ac",
        "head_changeset": "5e330d613b27eaf628c9548e07eb94e748934bbb",
        "phabricator_id": 254110,
        "phabricator_phid": "PHID-DREV-sufxwewdgt4handyjj3f",
        "title": "WIP: Bug 1955287: Add tab to closed group from context menu",
        "bugzilla_id": 1955287,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/481017/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/481017/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D254110"
    },
    "phid": "PHID-DIFF-4ndmg3hc3jheu2lbhspd",
    "review_task_id": "TYahUiO1TlmPZypA4M96Fw",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "819a4a6ff9a39f7b605dc7453afce5edc4bd5238",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1065015/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-18T12:41:49.716137Z"
}