List and retrieve diffs with detailed revision information

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

{
    "id": 1065173,
    "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-pm4ysrquy3uz6pv7s2tr",
    "review_task_id": "OEK3uBG-SqCugs3x7o03DQ",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "34708ae4c9b76ef34a416cdd84c69d1bc0dd6106",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1065173/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-18T15:17:51.934123Z"
}