List and retrieve diffs with detailed revision information

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

{
    "id": 1058941,
    "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-zrqwrq6ssknukesctpai",
    "review_task_id": "LmovSSSwS6eXSTfuzzESwg",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "e939f1c4039a8e7caf02ab593fd141b78b9c9b84",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1058941/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-15T16:01:35.661757Z"
}