ulams h5p
Generated from front/cli (ulams schema)
ulams h5p contents
Section titled “ulams h5p contents”List H5P contents with the number of topics using each.
Kind: read (idempotent). Stability: stable. MCP tool: h5p_contents. Scopes: courses:read.
Endpoints: GET /api/admin/h5p/contents.
| Flag | Type | Required | Description |
|---|---|---|---|
--title |
string | ||
--main-library |
string | machine name, e.g. H5P.MultiChoice | |
--author-id |
integer | only with h5p_list | |
--page |
integer | ||
--per-page |
integer | 0 returns all rows without pagination | |
--order-by |
string | ||
--order |
string |
# List H5P contents with the number of topics using eachulams h5p contents --jsonInput JSON Schema
{ "$schema": "https://json-schema.org/draft/2020-12/schema", "type": "object", "properties": { "title": { "type": "string" }, "main_library": { "type": "string", "description": "machine name, e.g. H5P.MultiChoice" }, "author_id": { "type": "integer", "minimum": -9007199254740991, "maximum": 9007199254740991, "description": "only with h5p_list" }, "page": { "type": "integer", "minimum": -9007199254740991, "maximum": 9007199254740991 }, "per_page": { "type": "integer", "minimum": -9007199254740991, "maximum": 9007199254740991, "description": "0 returns all rows without pagination" }, "order_by": { "type": "string", "enum": [ "id", "title", "main_library", "library", "user_id", "created_at", "updated_at", "count_h5p" ] }, "order": { "type": "string", "enum": [ "ASC", "DESC" ] } }, "additionalProperties": {}}ulams h5p unused
Section titled “ulams h5p unused”Delete H5P contents that no topic uses.
Kind: destructive (idempotent). Stability: stable. MCP tool: h5p_unused. Scopes: courses:write.
Endpoints: DELETE /api/admin/h5p/unused.
# Delete H5P contents that no topic usesulams h5p unused --jsonInput JSON Schema
{ "$schema": "https://json-schema.org/draft/2020-12/schema", "type": "object", "properties": {}, "additionalProperties": {}}