List and retrieve diffs with detailed revision information

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

{
    "id": 1113760,
    "revision": {
        "id": 520720,
        "base_repository": "https://hg.mozilla.org/comm-unified",
        "head_repository": "https://hg.mozilla.org/try-comm-central",
        "base_changeset": "8b5aa5dd9c72743cc11ab2f54408fd0a6620b7b6",
        "head_changeset": "3420ebca821459ac7870451314e470563b52211c",
        "phabricator_id": 262528,
        "phabricator_phid": "PHID-DREV-x3hfs375hbc34aaeeyfa",
        "title": "WIP: Bug 1976565 - Enable copy from commonDialog. r=#thunderbird-reviewers",
        "bugzilla_id": 1976565,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/520720/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/520720/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D262528"
    },
    "phid": "PHID-DIFF-d2fbqmognik4g4t5ivhc",
    "review_task_id": "T3tpNLNqTLKbk5OI0bun1Q",
    "repository": {
        "id": 1002,
        "slug": "try-comm-central",
        "url": "https://hg.mozilla.org/try-comm-central"
    },
    "mercurial_hash": "e1e04f2c5d2685c58b614d1b80b3b046faa4984f",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1113760/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-08-28T18:32:26.400375Z"
}