List and retrieve diffs with detailed revision information

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

{
    "id": 1053338,
    "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-a5me64cocizq42v2jp3l",
    "review_task_id": "Yd0POTmiQha3ne8QVworYg",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "c9fbcae2188135d0a2474d6f83ff9f18964a1981",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1053338/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-05T08:46:53.285345Z"
}