List and retrieve diffs with detailed revision information

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

{
    "id": 1058288,
    "revision": {
        "id": 478475,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "b941e3032841e99cef00af491dc7a7929e9d9cca",
        "head_changeset": "b3d9b23cb5dfb0fb1921fe0994e177fcd72e6520",
        "phabricator_id": 253639,
        "phabricator_phid": "PHID-DREV-5pmprx5c4sjdginwys4r",
        "title": "Bug 1970851 - [wpt] Fix /dom/events/scrolling/iframe-chains.html for widget scroll events.",
        "bugzilla_id": 1970851,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/478475/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/478475/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D253639"
    },
    "phid": "PHID-DIFF-vblnappiu2nh2leabwyr",
    "review_task_id": "WJq74KwLS4W4whLexkHsLQ",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "b3d9b23cb5dfb0fb1921fe0994e177fcd72e6520",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1058288/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-13T12:27:16.175167Z"
}