List and retrieve diffs with detailed revision information

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

{
    "id": 1059090,
    "revision": {
        "id": 478123,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "b90d55c95164368849151c54fdd84c939ea12d8b",
        "head_changeset": "a040a6f6175bdd04da90872af75205e628a8bb15",
        "phabricator_id": 253317,
        "phabricator_phid": "PHID-DREV-pxxy3r3zz5zfwvcwcll7",
        "title": "Bug 1971507 - Replace yaml-rust with yaml-rust2 r=#supply-chain-reviewers",
        "bugzilla_id": 1971507,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/478123/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/478123/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D253317"
    },
    "phid": "PHID-DIFF-afhivuztutx4dn6wxill",
    "review_task_id": "fGle1nq7RiyhzNT7vxru5A",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "68b10baac6b2fc91c03b5396b1e670c4f416c81d",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1059090/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-16T08:16:57.537870Z"
}