List and retrieve diffs with detailed revision information

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

{
    "id": 1054414,
    "revision": {
        "id": 477719,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "e07e37548dbe8e106c00a9ae57917768639ec85f",
        "head_changeset": "625a9cf3e770c24ef178d25f46644bb31071487f",
        "phabricator_id": 252868,
        "phabricator_phid": "PHID-DREV-na5mdmozbxzclbxjtpfc",
        "title": "Bug 1970275 [Wayland] Request Wayland event synchronication after explicit roundtrip r?emilio",
        "bugzilla_id": 1970275,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/477719/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/477719/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D252868"
    },
    "phid": "PHID-DIFF-tvru6gq6o2vavqjyzzre",
    "review_task_id": "LIpiOfYHR16DudTJJwLGiw",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "625a9cf3e770c24ef178d25f46644bb31071487f",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1054414/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-06T15:51:18.962458Z"
}