List and retrieve diffs with detailed revision information

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

{
    "id": 1054006,
    "revision": {
        "id": 477656,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "f1aa8c54040bec072d65fdf95379df132204410c",
        "head_changeset": "7157f6b9b3e187e576069079bb2d4e2574387ccf",
        "phabricator_id": 252777,
        "phabricator_phid": "PHID-DREV-k4uj7vvl4g7kb4uhnfae",
        "title": "No bug - Add \"How to interact with #geckoview-reviewers\" document. r?tcampbell!,ohall!",
        "bugzilla_id": null,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/477656/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/477656/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D252777"
    },
    "phid": "PHID-DIFF-qdswswpefhbfdqbwyqpf",
    "review_task_id": "BAds-QMvTQG3Cmr93m2MmA",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "7157f6b9b3e187e576069079bb2d4e2574387ccf",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1054006/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-06T00:07:14.529072Z"
}