List and retrieve diffs with detailed revision information

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

{
    "id": 1076060,
    "revision": {
        "id": 487027,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "77cdea914d67530530978c6de15891fc8577ffbc",
        "head_changeset": "e95541cf5541d865ce3ebc319ce5a99e855f8e97",
        "phabricator_id": 255219,
        "phabricator_phid": "PHID-DREV-7po2thn67xtq75wl2gs6",
        "title": "Bug 1974315 - Part 1: Cleanup homepage section settings by moving to the same place. r=gl",
        "bugzilla_id": 1974315,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/487027/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/487027/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D255219"
    },
    "phid": "PHID-DIFF-cclcvv6xpuvb6cip5ban",
    "review_task_id": "S9YFFx41TPGNXpTXP55d2g",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "5ca034e30a732ffa5ab87c838f30d73b0711868c",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1076060/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-01T15:47:09.229000Z"
}