ulams question-answers
Generated from front/cli (ulams schema)
ulams question-answers change-visibility
Section titled “ulams question-answers change-visibility”Change answer visibility on front.
Kind: write. Stability: stable. MCP tool: question_answers_change_visibility. Scopes: reports:write.
Endpoints: POST /api/admin/question-answers/{id}/change-visibility.
| Flag | Type | Required | Description |
|---|---|---|---|
--id (positional) |
integer | yes | id of question answer |
--visible-on-front |
boolean | visible on front |
# Change answer visibility on frontulams question-answers change-visibility 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 of question answer" }, "visible_on_front": { "type": "boolean", "description": "visible on front" } }, "required": [ "id" ], "additionalProperties": {}}ulams question-answers get
Section titled “ulams question-answers get”Lists questions answers for questionaire.
Kind: read (idempotent). Stability: stable. MCP tool: question_answers_get. Scopes: reports:read.
Endpoints: GET /api/admin/question-answers/{id}.
| Flag | Type | Required | Description |
|---|---|---|---|
--id (positional) |
integer | yes | id of questionnaire |
--questionnaire-model-id |
integer | id of questionnaire model | |
--question-id |
integer | id of question | |
--order |
string | Order direction | |
--order-by |
string | Order by field | |
--user-id |
integer | filter by answer user_id | |
--updated-at-from |
string | From date filter | |
--updated-at-to |
string | To date filter |
# Lists questions answers for questionaireulams question-answers get 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 of questionnaire" }, "questionnaire_model_id": { "type": "integer", "minimum": -9007199254740991, "maximum": 9007199254740991, "description": "id of questionnaire model" }, "question_id": { "type": "integer", "minimum": -9007199254740991, "maximum": 9007199254740991, "description": "id of question" }, "order": { "type": "string", "description": "Order direction" }, "order_by": { "type": "string", "description": "Order by field" }, "user_id": { "type": "integer", "minimum": -9007199254740991, "maximum": 9007199254740991, "description": "filter by answer user_id" }, "updated_at_from": { "type": "string", "description": "From date filter" }, "updated_at_to": { "type": "string", "description": "To date filter" } }, "required": [ "id" ], "additionalProperties": {}}