List and retrieve diffs with detailed revision information

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

{
    "id": 1094769,
    "revision": {
        "id": 497497,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "ad5afefda393d8f5443d42e83b765b60de9d2d81",
        "head_changeset": "b18c84cf063a73ceee995982fb7c61ff8efee812",
        "phabricator_id": 257784,
        "phabricator_phid": "PHID-DREV-cpuna7ucle7zvxxsfulq",
        "title": "WIP: Bug 1969510 - wasm: Restrict max pages to less than MAX_SAFE_INTEGER.",
        "bugzilla_id": 1969510,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/497497/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/497497/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D257784"
    },
    "phid": "PHID-DIFF-ogwk46ndf2quensakgz3",
    "review_task_id": "UP1_QHdQQk-5Wb_vRvOWvQ",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "17ef4781ae9ba6a5e69f7568b82b8ff2d97b7052",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1094769/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-23T21:04:59.919546Z"
}