← Back to schema index

PlaygroundTemplatesResponse

JSON:API envelope wrapping the categories and templates available for the playground, filtered by the calling user's permissions.

Properties

Field Type Description
data * object
type * string
attributes * object
categories * array Categories ordered according to the sidebar-order.json manifest (W2): first those in `groups.reference`, then `groups.admin`, then the rest alphabetically. Without manifest: non-admin first (preserving YAML order), then `Admin: *`.
total * integer Total count of templates the caller is allowed to see (sum of `templates.length` across all `categories`).

Used in operations

  • GET /v1/playground/templates