List and retrieve diffs with detailed revision information

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

{
    "id": 1058942,
    "revision": {
        "id": 479248,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "ca42e3a0e39ccea55a166c68f47e7c53c526d3e9",
        "head_changeset": "f11570939e5cf85bd8d07232330d565e2a6f5db7",
        "phabricator_id": 195367,
        "phabricator_phid": "PHID-DREV-q4xcq57o2c5auhl3czlx",
        "title": "Bug 1867409 - Delay notifying our new frame size to the embedder until after the old frame has completed its destruction r=emilio",
        "bugzilla_id": 1867409,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/479248/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/479248/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D195367"
    },
    "phid": "PHID-DIFF-cds5jbof5ks2333lfitq",
    "review_task_id": "T4E2-hnxS_ygEid90z5pIw",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "e216f95ac33768d3c7787a3e9eea2ce101ae49f6",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1058942/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-15T16:10:11.748255Z"
}