List and retrieve diffs with detailed revision information

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

{
    "id": 1095819,
    "revision": {
        "id": 497166,
        "base_repository": "https://hg.mozilla.org/comm-unified",
        "head_repository": "https://hg.mozilla.org/try-comm-central",
        "base_changeset": "191453bc93922acd8fea9c375b16cc7248fd3765",
        "head_changeset": "2f53686c04ef321794836d6417a18ccbc29986ac",
        "phabricator_id": 257729,
        "phabricator_phid": "PHID-DREV-em4czxtq3bgjsy3pbthx",
        "title": "Bug 1977860 - Don't move folders out of the way when reordering if there is a sufficient gap. r=#thunderbird-reviewers",
        "bugzilla_id": 1977860,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/497166/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/497166/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D257729"
    },
    "phid": "PHID-DIFF-smuhmi4mjcz23xk7kfqf",
    "review_task_id": "FdrVt9JBTvWf55eODN_x8A",
    "repository": {
        "id": 1002,
        "slug": "try-comm-central",
        "url": "https://hg.mozilla.org/try-comm-central"
    },
    "mercurial_hash": "b0549fa283566a82ec63404a5d3f5f54416c7ef7",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1095819/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-25T09:44:05.228702Z"
}