List and retrieve diffs with detailed revision information

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

{
    "id": 1058931,
    "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-htvvfmmu2shvjbdnetko",
    "review_task_id": "I4b7TyYYRPi5Vjk_DpW6WA",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "c796574655971c7eefde98927bdbd8a6a9c19aeb",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1058931/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-15T13:58:51.911306Z"
}