List and retrieve diffs with detailed revision information

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

{
    "id": 1067170,
    "revision": {
        "id": 483972,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "15d7ea22f858bcfceae7d0c1cfa57117120bb10c",
        "head_changeset": "4e49128cac83d591b68cc3c17cdf47333c635a6a",
        "phabricator_id": 254659,
        "phabricator_phid": "PHID-DREV-eoidyu2nq3wdlxaxrs7h",
        "title": "Bug 1968427 - Adding a null checking on WorkerPrivate::GlobalScope() in ServiceWorkerOpRunnable. r=#dom-worker-reviewers",
        "bugzilla_id": 1968427,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/483972/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/483972/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D254659"
    },
    "phid": "PHID-DIFF-2jwkeg6ngkpvyph4bhdg",
    "review_task_id": "MaZPiTlRQ2W1Nyb7VvjckA",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "4e49128cac83d591b68cc3c17cdf47333c635a6a",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1067170/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-23T10:22:19.382661Z"
}