List and retrieve diffs with detailed revision information

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

{
    "id": 1052477,
    "revision": {
        "id": 477361,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "46b8e7aaf0f5ab3df66b70d2c096b3d84fc36330",
        "head_changeset": "c790ab926830bcf8930c296fba2a4ee64d307a94",
        "phabricator_id": 252443,
        "phabricator_phid": "PHID-DREV-e7p3lhqjt2x226rj3qhd",
        "title": "Bug 1968644 - Part 1: Introduce triggeringFirstPartyClassificationFlags and triggeringThirdPartyClassificationFlags to LoadInfo. r?#necko!",
        "bugzilla_id": 1968644,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/477361/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/477361/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D252443"
    },
    "phid": "PHID-DIFF-ay4el3gbyjebvwhk2i26",
    "review_task_id": "TWjxx6J_QA6ZON2lZUFLaQ",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "c790ab926830bcf8930c296fba2a4ee64d307a94",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1052477/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-04T08:33:15.181698Z"
}