List and retrieve diffs with detailed revision information

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

{
    "id": 1055572,
    "revision": {
        "id": 477950,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "0a00aa8e66009f89892c193ccb0c4fd45b64072f",
        "head_changeset": "8e240cd19ceed37a0fc6bcd700cc880141e1866a",
        "phabricator_id": 253119,
        "phabricator_phid": "PHID-DREV-4vl2p46dhn5e74763uf7",
        "title": "Bug 1970973 - part2 : construct new extradata by using found SPSs and PPSs.",
        "bugzilla_id": 1970973,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/477950/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/477950/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D253119"
    },
    "phid": "PHID-DIFF-3nfnc5bbc5pbqo5sz6lj",
    "review_task_id": "c6ryEa_qRnST29KdTxoqBQ",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "8e240cd19ceed37a0fc6bcd700cc880141e1866a",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1055572/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-10T04:24:40.637568Z"
}