List and retrieve diffs with detailed revision information

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

{
    "id": 1098358,
    "revision": {
        "id": 492874,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "4e64a1b165926e1f3cd61467404cab37d1e9496f",
        "head_changeset": "1d4da03cee61aa8360c71ceb75f00f0515408c02",
        "phabricator_id": 255716,
        "phabricator_phid": "PHID-DREV-q4j7dlli74ozpoibs5dk",
        "title": "Bug 1974483 - Part 4 Adding the UI to the terms of service bottom sheet",
        "bugzilla_id": 1974483,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/492874/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/492874/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D255716"
    },
    "phid": "PHID-DIFF-zhlxriexd4t7zi3ghiba",
    "review_task_id": "SlGiJudCQv2Ljc638VelFA",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "8f3f10ace9b53c76bb73227d625fe38a9f3eeaf6",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1098358/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-30T19:21:00.571181Z"
}