List and retrieve diffs with detailed revision information

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

{
    "id": 1051889,
    "revision": {
        "id": 399893,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "67b3e32e08bbc5a9efa6a9ab14f6686224a3e605",
        "head_changeset": "7b85647ee6836d0374cf227a05a884e9f546c765",
        "phabricator_id": 229363,
        "phabricator_phid": "PHID-DREV-jwmtl6oqdxndav7vpj5k",
        "title": "Bug 1931401: Increase wasm memory limit to 16GiB. r=rhunt",
        "bugzilla_id": 1931401,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/399893/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/399893/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D229363"
    },
    "phid": "PHID-DIFF-darpk3gicjyuasnuqbxj",
    "review_task_id": "f4aO7WagQk6mSThAXySdFg",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "361a9c80e4b28712192bcc8ebaf9d32f7e16e082",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1051889/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-03T15:23:54.380645Z"
}