List and retrieve diffs with detailed revision information

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

{
    "id": 1055205,
    "revision": {
        "id": 477668,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "f1aa8c54040bec072d65fdf95379df132204410c",
        "head_changeset": "82cf065237b70d53c54fa553551678096eb18a26",
        "phabricator_id": 252787,
        "phabricator_phid": "PHID-DREV-cs2h6prwjjq2qun7qe6r",
        "title": "Bug 1970692 - Part 1: Remove single-locale upload related cruft. r?#build",
        "bugzilla_id": 1970692,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/477668/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/477668/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D252787"
    },
    "phid": "PHID-DIFF-hztxaw6frwqcgar3sban",
    "review_task_id": "BCneaP6vR0aTR2ZxAeZhyA",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "7b26243a0300bc4f180a245b9e8460744956002b",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1055205/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-09T17:48:39.693249Z"
}