List and retrieve diffs with detailed revision information

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

{
    "id": 1098236,
    "revision": {
        "id": 490144,
        "base_repository": "https://hg.mozilla.org/comm-unified",
        "head_repository": "https://hg.mozilla.org/try-comm-central",
        "base_changeset": "d8fe417e929863bd10102ed4000c751682f81d10",
        "head_changeset": "22746f4f062b626eaa5234e9948865f6775ee779",
        "phabricator_id": 255991,
        "phabricator_phid": "PHID-DREV-lrzwnznrhtnim2aadvbz",
        "title": "WIP: Bug 1969363 - Eagerly discover subfolders.",
        "bugzilla_id": 1969363,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/490144/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/490144/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D255991"
    },
    "phid": "PHID-DIFF-rfvbdjjzibi2bs6m5bko",
    "review_task_id": "UkwWvXi_T-iPp-vrt7jlOA",
    "repository": {
        "id": 1002,
        "slug": "try-comm-central",
        "url": "https://hg.mozilla.org/try-comm-central"
    },
    "mercurial_hash": "a6e9fef309a805b527df4637f7d227779b81de97",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1098236/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-30T16:53:19.414541Z"
}