List and retrieve diffs with detailed revision information

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

{
    "id": 1081883,
    "revision": {
        "id": 494306,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "83a894c1748d16dc66332b7849e143ad0386bcc0",
        "head_changeset": "7a6d0fcdf39287526dd02a85b702cf3dd9ae922c",
        "phabricator_id": 257060,
        "phabricator_phid": "PHID-DREV-v2xngvlxradnsjxmjxeb",
        "title": "Bug 1974315 - Part 2: Added comments to feature flag preference delegates so that their usage is clearer.",
        "bugzilla_id": 1974315,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/494306/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/494306/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D257060"
    },
    "phid": "PHID-DIFF-lbvjvtsyf3xfbw4j7vrv",
    "review_task_id": "Hki3EsXZTvWwQf2l-C76lw",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "7a6d0fcdf39287526dd02a85b702cf3dd9ae922c",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1081883/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-11T20:57:14.191877Z"
}