ulams questions
Generated from front/cli (ulams schema)
ulams questions create
Section titled “ulams questions create”Store a newly Gift Question.
Kind: write. Stability: stable. MCP tool: questions_create. Scopes: courses:write.
Endpoints: POST /api/admin/gift-questions.
| Flag | Type | Required | Description |
|---|---|---|---|
--category-id |
integer | category_id | |
--order |
integer | order | |
--score |
number | yes | max score |
--topic-gift-quiz-id |
number | yes | topic_gift_quiz_id |
--value |
string | yes | value |
# Store a newly Gift Questionulams questions create --score text --topic-gift-quiz-id text --value text --jsonInput JSON Schema
{ "$schema": "https://json-schema.org/draft/2020-12/schema", "type": "object", "properties": { "category_id": { "type": "integer", "minimum": -9007199254740991, "maximum": 9007199254740991, "description": "category_id" }, "order": { "type": "integer", "minimum": -9007199254740991, "maximum": 9007199254740991, "description": "order" }, "score": { "type": "number", "description": "max score" }, "topic_gift_quiz_id": { "type": "number", "description": "topic_gift_quiz_id" }, "value": { "type": "string", "description": "value" } }, "required": [ "score", "topic_gift_quiz_id", "value" ], "additionalProperties": {}}ulams questions delete
Section titled “ulams questions delete”Remove the specified Gift Question.
Kind: destructive (idempotent). Stability: stable. MCP tool: questions_delete. Scopes: courses:write.
Endpoints: DELETE /api/admin/gift-questions/{id}.
| Flag | Type | Required | Description |
|---|---|---|---|
--id (positional) |
integer | yes | ID |
# Remove the specified Gift Questionulams questions delete 1 --jsonInput JSON Schema
{ "$schema": "https://json-schema.org/draft/2020-12/schema", "type": "object", "properties": { "id": { "type": "integer", "minimum": -9007199254740991, "maximum": 9007199254740991, "description": "ID" } }, "required": [ "id" ], "additionalProperties": {}}ulams questions export
Section titled “ulams questions export”Export Gift Questions.
Kind: read (idempotent). Stability: stable. MCP tool: questions_export. Scopes: courses:read.
Endpoints: GET /api/admin/gift-questions/export.
| Flag | Type | Required | Description |
|---|---|---|---|
--category-ids[] |
array | ||
--ids[] |
array | ||
--out |
string | Write the download to this path (- for stdout) |
# Export Gift Questionsulams questions export --jsonInput JSON Schema
{ "$schema": "https://json-schema.org/draft/2020-12/schema", "type": "object", "properties": { "category_ids[]": { "type": "array", "items": {} }, "ids[]": { "type": "array", "items": {} }, "out": { "description": "Write the download to this path (- for stdout)", "type": "string" } }, "additionalProperties": {}}ulams questions import
Section titled “ulams questions import”Import Gift Questions.
Kind: write. Stability: stable. MCP tool: questions_import. Scopes: courses:write.
Endpoints: POST /api/admin/gift-questions/import.
| Flag | Type | Required | Description |
|---|---|---|---|
--file |
string | yes | file (path of a local file) |
--topic-gift-quiz-id |
number | yes | topic_gift_quiz_id |
# Import Gift Questionsulams questions import --file text --topic-gift-quiz-id text --jsonInput JSON Schema
{ "$schema": "https://json-schema.org/draft/2020-12/schema", "type": "object", "properties": { "file": { "type": "string", "description": "file (path of a local file)" }, "topic_gift_quiz_id": { "type": "number", "description": "topic_gift_quiz_id" } }, "required": [ "file", "topic_gift_quiz_id" ], "additionalProperties": {}}ulams questions sort
Section titled “ulams questions sort”Sort Gift Questions.
Kind: write. Stability: stable. MCP tool: questions_sort. Scopes: courses:write.
Endpoints: POST /api/admin/gift-questions/sort.
| Flag | Type | Required | Description |
|---|---|---|---|
--orders |
array | orders |
# Sort Gift Questionsulams questions sort --jsonInput JSON Schema
{ "$schema": "https://json-schema.org/draft/2020-12/schema", "type": "object", "properties": { "orders": { "type": "array", "items": {}, "description": "orders" } }, "additionalProperties": {}}ulams questions update
Section titled “ulams questions update”Update Gift Question.
Kind: write (idempotent). Stability: stable. MCP tool: questions_update. Scopes: courses:write.
Endpoints: PUT /api/admin/gift-questions/{id}.
| Flag | Type | Required | Description |
|---|---|---|---|
--id (positional) |
integer | yes | ID |
--category-id |
integer | category_id | |
--order |
integer | order | |
--score |
number | max score | |
--topic-gift-quiz-id |
number | topic_gift_quiz_id | |
--value |
string | value |
# Update Gift Questionulams questions update 1 --jsonInput JSON Schema
{ "$schema": "https://json-schema.org/draft/2020-12/schema", "type": "object", "properties": { "id": { "type": "integer", "minimum": -9007199254740991, "maximum": 9007199254740991, "description": "ID" }, "category_id": { "type": "integer", "minimum": -9007199254740991, "maximum": 9007199254740991, "description": "category_id" }, "order": { "type": "integer", "minimum": -9007199254740991, "maximum": 9007199254740991, "description": "order" }, "score": { "type": "number", "description": "max score" }, "topic_gift_quiz_id": { "type": "number", "description": "topic_gift_quiz_id" }, "value": { "type": "string", "description": "value" } }, "required": [ "id" ], "additionalProperties": {}}