List and retrieve diffs with detailed revision information

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

{
    "id": 1080327,
    "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-a5jzyg47ugb3yfspvksx",
    "review_task_id": "WO2GcfbnStW7C7q4Gq9_2Q",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "2e349acbfb66c83745e46e47ffcff806201929ed",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1080327/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-09T18:35:30.020384Z"
}