List and retrieve diffs with detailed revision information

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

{
    "id": 1076592,
    "revision": {
        "id": 489413,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "476169571f16db0fb5df238b0cf8fa51e5252bd0",
        "head_changeset": "e2953ac5b8e0e1c0f554eec3d34a5b4d042f72a1",
        "phabricator_id": 255785,
        "phabricator_phid": "PHID-DREV-h4sh3a7ix23epmzlefog",
        "title": "Bug 1975170 - Don't use an experiments stylesheet for built-in light/dark themes. r=dao,#theme",
        "bugzilla_id": 1975170,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/489413/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/489413/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D255785"
    },
    "phid": "PHID-DIFF-j2zftfl3gsszf3ajv2yk",
    "review_task_id": "e0WZwuiSRhOX36-THjMsXw",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "e2953ac5b8e0e1c0f554eec3d34a5b4d042f72a1",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1076592/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-02T11:53:11.707648Z"
}