List and retrieve diffs with detailed revision information

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

{
    "id": 1027051,
    "revision": {
        "id": 469564,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "28eeefe17675fc628a30e59ffcc63c9f0f0ff418",
        "head_changeset": "7210f92a469aa595db716609e6ebb4ac8597413e",
        "phabricator_id": 241937,
        "phabricator_phid": "PHID-DREV-mydvgqgvimg4ougqclo4",
        "title": "Bug 1928254 - pt 5. Add more details to the Purge marker r=jstutte",
        "bugzilla_id": 1928254,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/469564/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/469564/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D241937"
    },
    "phid": "PHID-DIFF-weshgbw2ne77kjzfyic5",
    "review_task_id": "D7oxFkq_QT-9aZMGWsgHig",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "79fd3967e945fdebfa2879355e31e956e7e85ff6",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1027051/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-05-05T03:50:35.601352Z"
}