List and retrieve diffs with detailed revision information

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

{
    "id": 1106125,
    "revision": {
        "id": 511768,
        "base_repository": "https://hg.mozilla.org/comm-unified",
        "head_repository": "https://hg.mozilla.org/try-comm-central",
        "base_changeset": "29a6e9540ad732fd0e673ec9bd2416bf6693bece",
        "head_changeset": "3d154fdf3042119d64a4995605970e16e766b330",
        "phabricator_id": 260897,
        "phabricator_phid": "PHID-DREV-velqfcu5g3rjv4blvrpa",
        "title": "WIP: Bug 1982368 - Enable undo/redo of move message.",
        "bugzilla_id": 1982368,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/511768/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/511768/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D260897"
    },
    "phid": "PHID-DIFF-ocqwbbfijai3veyas6au",
    "review_task_id": "AJTKLULTTJ6V322nxdSzdw",
    "repository": {
        "id": 1002,
        "slug": "try-comm-central",
        "url": "https://hg.mozilla.org/try-comm-central"
    },
    "mercurial_hash": "54b6d98b5d4fbd9271b33ee0b9e46a2a2893c207",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1106125/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-08-14T17:17:33.352566Z"
}