List and retrieve diffs with detailed revision information

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

{
    "id": 1095470,
    "revision": {
        "id": 492930,
        "base_repository": "https://hg.mozilla.org/comm-unified",
        "head_repository": "https://hg.mozilla.org/try-comm-central",
        "base_changeset": "d16a8e1b422fee675cac8b9e15f8b05a7de6766c",
        "head_changeset": "831525fe45084bbd3f38cb8ff5fbef0c99d8aff8",
        "phabricator_id": 256731,
        "phabricator_phid": "PHID-DREV-roxlspfemcl3cwp2b4iq",
        "title": "WIP: Bug 1957486 - Improve the UI and UX of folder reordering.",
        "bugzilla_id": 1957486,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/492930/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/492930/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D256731"
    },
    "phid": "PHID-DIFF-t3zlchiuy6bfhlpbv4dm",
    "review_task_id": "G9qK9H3hS_y1MVD00ipnhg",
    "repository": {
        "id": 1002,
        "slug": "try-comm-central",
        "url": "https://hg.mozilla.org/try-comm-central"
    },
    "mercurial_hash": "d6da2f18bb9a5d9e686c82eaa7be1008e28ca19a",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1095470/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-24T19:19:36.368551Z"
}