Skip to content

ulams pdfs

Generated from front/cli (ulams schema)

Display the specified generated PDF.

Kind: read (idempotent). Stability: stable. MCP tool: pdfs_list. Scopes: certificates:read.

Endpoints: GET /api/admin/pdfs.

Flag Type Required Description
--user-id integer either user_id
--template-id integer or user_id
Terminal window
# Display the specified generated PDF
ulams pdfs list --json
Input JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"properties": {
"user_id": {
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991,
"description": "either user_id"
},
"template_id": {
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991,
"description": "or user_id"
}
},
"additionalProperties": {}
}

Preview a pdfme template with sample data.

Kind: write. Stability: stable. MCP tool: pdfs_preview. Scopes: certificates:write.

Endpoints: POST /api/admin/pdfs/preview.

Flag Type Required Description
--content object yes pdfme template (object or JSON string)
--event string yes
--out string Write the download to this path (- for stdout)
Terminal window
# Preview a pdfme template with sample data
ulams pdfs preview --content text --event text --json
Input JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"properties": {
"content": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {},
"description": "pdfme template (object or JSON string)"
},
"event": {
"type": "string"
},
"out": {
"description": "Write the download to this path (- for stdout)",
"type": "string"
}
},
"required": [
"content",
"event"
],
"additionalProperties": {}
}