List and retrieve diffs with detailed revision information

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

{
    "id": 1066620,
    "revision": {
        "id": 483072,
        "base_repository": "https://hg.mozilla.org/comm-unified",
        "head_repository": "https://hg.mozilla.org/try-comm-central",
        "base_changeset": "f6a5cbf256605af1d03d40ce98a57f6c7ebf5105",
        "head_changeset": "65d23ff337b26292a60107128b98333bb5f2f006",
        "phabricator_id": 254499,
        "phabricator_phid": "PHID-DREV-wo52ldq4cpvfsnjkoy6y",
        "title": "Bug 1792482 - Adapt attachment splitter to changes from bug 1790299. r=#thunderbird-reviewers",
        "bugzilla_id": 1792482,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/483072/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/483072/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D254499"
    },
    "phid": "PHID-DIFF-bfslt7rx5iz7vgfn6chs",
    "review_task_id": "QUyqZTzjSLGjhz-uBwzPCg",
    "repository": {
        "id": 1002,
        "slug": "try-comm-central",
        "url": "https://hg.mozilla.org/try-comm-central"
    },
    "mercurial_hash": "65d23ff337b26292a60107128b98333bb5f2f006",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1066620/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-20T11:28:23.724577Z"
}