List and retrieve diffs with detailed revision information

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

{
    "id": 1054271,
    "revision": {
        "id": 477423,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "6cce9e5542b325c77c0c342609211882301bf720",
        "head_changeset": "eaffa91b03761f752e0c120c1ce5c0759487a172",
        "phabricator_id": 252510,
        "phabricator_phid": "PHID-DREV-j5kpehwfbapqzde2efxm",
        "title": "Bug 1968644 - Part 7: Populate the triggeringFirstPartyClassificationFlags and triggeringThirdPartyClassificationFlags for WebSocket requests. r?valentin!",
        "bugzilla_id": 1968644,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/477423/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/477423/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D252510"
    },
    "phid": "PHID-DIFF-ztn2iy4b3njii5sc567b",
    "review_task_id": "Q4CTMWASQJm5BIRPYfQJOg",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "7fe4f7e8b4cd387fbf9e497ba6c4a9cac0740fc4",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1054271/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-06T12:37:23.162848Z"
}