Create Page
API operation: Open the endpoint in Scalar
Use POST /pages to create a CMS-style page. The operation documented here is Page.register.
The documented schema requires administrator authentication. name, slug, and body are required; visibility, page type, and SEO fields are operation-specific. The authenticated user is recorded as the page author.
See Pages model.
OpenAPI reference
Operation: POST /pages
Request body fields
| Name | Type | Required |
|---|---|---|
body | any | Yes |
enabled | boolean | No |
name | any | Yes |
public | boolean | No |
seo_description | any | No |
seo_image_file | any | No |
seo_title | any | No |
slug | any | Yes |
type | any | No |
Responses
| Code | Description |
|---|---|
| 200 | OK (Envelope) |
| 400 | Bad Request (ErrorResponse) |
| 401 | Unauthorized |
| 404 | Not Found |
| 429 | Too Many Requests (ErrorResponse) |
| 500 | Internal Server Error (ErrorResponse) |
| 503 | Service Unavailable (ErrorResponse) |