List and retrieve diffs with detailed revision information

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

{
    "id": 1100691,
    "revision": {
        "id": 506370,
        "base_repository": "https://hg.mozilla.org/comm-unified",
        "head_repository": "https://hg.mozilla.org/try-comm-central",
        "base_changeset": "ddcd20732c937d784a78a6754d974ef90327384e",
        "head_changeset": "a54039e05d1de7b32d32f1181fa1fcdd29ea5f1f",
        "phabricator_id": 259908,
        "phabricator_phid": "PHID-DREV-pfrs3r4747u5aja4kmct",
        "title": "Bug 1972812 - Account Hub Move LDAP Directory creation to it's own module. r=#thunderbird-front-end-reviewers",
        "bugzilla_id": 1972812,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/506370/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/506370/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D259908"
    },
    "phid": "PHID-DIFF-zootyaui2rd7ljiehicj",
    "review_task_id": "cpvQuRtaSg65IKIRaIPvoA",
    "repository": {
        "id": 1002,
        "slug": "try-comm-central",
        "url": "https://hg.mozilla.org/try-comm-central"
    },
    "mercurial_hash": "a54039e05d1de7b32d32f1181fa1fcdd29ea5f1f",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1100691/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-08-05T02:06:32.991458Z"
}