List and retrieve diffs with detailed revision information

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

{
    "id": 1111242,
    "revision": {
        "id": 520321,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "2b71102f99a605a5ff46391f22f8164f494209c8",
        "head_changeset": "35f5f079c4fbb6a0637baad0aa97cac555451e36",
        "phabricator_id": 262436,
        "phabricator_phid": "PHID-DREV-tu2yt5asqosc43jntmwa",
        "title": "Bug 1984462 - Remove browser.searchinit OpenSearch engine and update counts Legacy Telemetry scalars. r?#search-reviewers!",
        "bugzilla_id": 1984462,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/520321/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/520321/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D262436"
    },
    "phid": "PHID-DIFF-xwk7lglxe2gz6ypk2rz5",
    "review_task_id": "Nl55hWOYRuWx5JNvpSp4BQ",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "35f5f079c4fbb6a0637baad0aa97cac555451e36",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1111242/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-08-25T18:32:08.494796Z"
}