List and retrieve diffs with detailed revision information

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

{
    "id": 1064438,
    "revision": {
        "id": 477363,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "8601a421f07db8a4debec48324f163b8c78d2de6",
        "head_changeset": "a2940c13e2cbf78a7f246402d7cf4d89d76ddcf9",
        "phabricator_id": 252448,
        "phabricator_phid": "PHID-DREV-3lgm4qowmhdxgdp7nvdq",
        "title": "Bug 1968644 - Part 6: Populate triggeringFirstPartyClassificationFlags and triggeringThirdPartyClassificationFlags during channel creation. r?#necko!",
        "bugzilla_id": 1968644,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/477363/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/477363/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D252448"
    },
    "phid": "PHID-DIFF-wuwd5dsmqxtmbuyeau7l",
    "review_task_id": "EcmZZnqnQdin2uzKdZGwjg",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "848e449f5797f476b307fc84c12ede277f82a80f",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1064438/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-17T19:40:13.137164Z"
}