List and retrieve diffs with detailed revision information

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

{
    "id": 1099720,
    "revision": {
        "id": 489755,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "9ed937ee84a5da70eaebe00b2fb66bd57ee3a8e6",
        "head_changeset": "ece1e8fac4c86e7e20709469eaa406143239ec79",
        "phabricator_id": 255869,
        "phabricator_phid": "PHID-DREV-kg7ywfsy55x76vxkbn5m",
        "title": "WIP: Bug 1974483 - Part 2 Adding a store and middleware for the terms of use bottom sheet",
        "bugzilla_id": 1974483,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/489755/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/489755/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D255869"
    },
    "phid": "PHID-DIFF-3wnirju3hnnozpdvr6yf",
    "review_task_id": "L4by4Z_WRj6qgimUCLFk_A",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "d9a9dd3d081f0d1ae3b4940efc33157936ec9fac",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1099720/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-08-01T17:12:19.869141Z"
}