List and retrieve diffs with detailed revision information

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

{
    "id": 1056349,
    "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-d5rehbv3dkdushwo5thh",
    "review_task_id": "awh3CC40RD6afP2HNBk6Yg",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "2cad3663b1ce558358f77de38c9b910abe7847a8",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1056349/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-11T00:45:22.146332Z"
}