List and retrieve diffs with detailed revision information

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

{
    "id": 1059410,
    "revision": {
        "id": 456107,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "ac2b765f864daa388e22f822db75dbdd153249ad",
        "head_changeset": "3348e57c25fc51189aa9495939cbde1ee8a26ecc",
        "phabricator_id": 238862,
        "phabricator_phid": "PHID-DREV-3qra3i3dde46slbj46e2",
        "title": "WIP: Bug 1927886: Hold stream ids in a separate mainthread-only member, instead of trying to track them in a combination of mChannels and mPending.",
        "bugzilla_id": 1927886,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/456107/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/456107/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D238862"
    },
    "phid": "PHID-DIFF-tlkvoirdawfavxyxdkab",
    "review_task_id": "XPBHGyadS562nj-lgdwbJw",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "8097b810c8d35224d88a2f893f3dcfe1f91674e3",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1059410/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-16T15:51:53.224120Z"
}