iya-sts
    Preparing search index...

    Draws the API explorer from its answer.

    A static utility class; it holds no state and takes no dependencies.

    Index
    STYLE: string = ...

    The explorer's stylesheet, one string — also the server-rendered explorer's (mgmt-api/admin_api_docs.ts reads it from here).

    • Draws /admin/api-explorer from its answer: the explorer's stylesheet, the element its script reads, and the script named for the runtime.

      Parameters

      • ctx: any

        the render context (WebKit.context())

      • json: any

        the answer of GET /admin-api/api-explorer

      Returns string

      the body as HTML

    • The explorer's rules for a page that is not the explorer's alone: each selector under prefix, and body's rule left out (the console's stylesheet, 2026-11-10). STYLE has no at-rule, so a rule is selectors{declarations} and nothing else.

      Parameters

      • prefix: string

        the container, .api-explorer

      Returns string

      the scoped CSS