List and retrieve diffs with detailed revision information

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

{
    "id": 1056068,
    "revision": {
        "id": 477766,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "367bc904b4fd00b55b628badd4a50a63bf578a9a",
        "head_changeset": "24da3745953586a3aceb6bfaed1e5d3209c08c8d",
        "phabricator_id": 252908,
        "phabricator_phid": "PHID-DREV-fe5obgyynmi7y2naqewm",
        "title": "WIP: Bug 1968291 - Adding metrics to know what distribiution provider checker gets used when detecting DT preinstalls",
        "bugzilla_id": 1968291,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/477766/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/477766/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D252908"
    },
    "phid": "PHID-DIFF-jkhg5qogg2nx3xgam7b7",
    "review_task_id": "McsGs26LT1etelPYjSC04g",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "4621eaaa543c13284ecc61ade94848c996936b39",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1056068/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-10T17:46:40.287121Z"
}