Skip to content

ulams pages

Generated from front/cli (ulams schema)

Create a new page identified by id.

Kind: write. Stability: stable. MCP tool: pages_create. Scopes: settings:write.

Endpoints: POST /api/admin/pages.

Flag Type Required Description
--active boolean page is active
--author-id integer yes identifier of the user object who owns a page
--content string yes page content
--title string yes page title
Terminal window
# Create a new page identified by id
ulams pages create --author-id text --content text --title Example --json
Input JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"properties": {
"active": {
"type": "boolean",
"description": "page is active"
},
"author_id": {
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991,
"description": "identifier of the user object who owns a page"
},
"content": {
"type": "string",
"description": "page content"
},
"title": {
"type": "string",
"description": "page title"
}
},
"required": [
"author_id",
"content",
"title"
],
"additionalProperties": {}
}

Delete a page identified by a id.

Kind: destructive (idempotent). Stability: stable. MCP tool: pages_delete. Scopes: settings:write.

Endpoints: DELETE /api/admin/pages/{id}.

Flag Type Required Description
--id (positional) integer yes Unique human-readable page identifier
Terminal window
# Delete a page identified by a id
ulams pages delete 1 --json
Input JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"properties": {
"id": {
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991,
"description": "Unique human-readable page identifier"
}
},
"required": [
"id"
],
"additionalProperties": {}
}

Read a page identified by a given id identifier.

Kind: read (idempotent). Stability: stable. MCP tool: pages_get. Scopes: settings:read.

Endpoints: GET /api/admin/pages/{id}.

Flag Type Required Description
--id (positional) string yes Unique human-readable page identifier
Terminal window
# Read a page identified by a given id identifier
ulams pages get text --json
Input JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"properties": {
"id": {
"type": "string",
"description": "Unique human-readable page identifier"
}
},
"required": [
"id"
],
"additionalProperties": {}
}

Lists available pages.

Kind: read (idempotent). Stability: stable. MCP tool: pages_list. Scopes: settings:read.

Endpoints: GET /api/admin/pages.

Terminal window
# Lists available pages
ulams pages list --json
Input JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"properties": {},
"additionalProperties": {}
}

Update an existing page identified by id.

Kind: write. Stability: stable. MCP tool: pages_update. Scopes: settings:write.

Endpoints: PATCH /api/admin/pages/{id}.

Flag Type Required Description
--id (positional) integer yes Unique human-readable page identifier
--active boolean page is active
--author-id integer identifier of the user object who owns a page
--content string page content
--title string page title
Terminal window
# Update an existing page identified by id
ulams pages update 1 --json
Input JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"properties": {
"id": {
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991,
"description": "Unique human-readable page identifier"
},
"active": {
"type": "boolean",
"description": "page is active"
},
"author_id": {
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991,
"description": "identifier of the user object who owns a page"
},
"content": {
"type": "string",
"description": "page content"
},
"title": {
"type": "string",
"description": "page title"
}
},
"required": [
"id"
],
"additionalProperties": {}
}