List and retrieve diffs with detailed revision information

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

{
    "id": 1080831,
    "revision": {
        "id": 493298,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "a0dcff3b0556b1423fa7da0fdf0c84f060fdd79e",
        "head_changeset": "c324ffbf5720ceeaeaa0c154930f646e23176695",
        "phabricator_id": 256810,
        "phabricator_phid": "PHID-DREV-l4wo5r3yqrgkxbzxlfom",
        "title": "Bug 1975485 - Refactor tab removal from collections using swipe actions",
        "bugzilla_id": 1975485,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/493298/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/493298/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D256810"
    },
    "phid": "PHID-DIFF-z7lpbm36dsvvza2n62rp",
    "review_task_id": "eOhmY4MjTc-Z-RHPK8J6PA",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "c324ffbf5720ceeaeaa0c154930f646e23176695",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1080831/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-10T14:32:14.209067Z"
}