element_create
Create a content element on a Voog CMS page by specifying its definition, title, and page. Optionally set a URL path and custom property values.
Instructions
Create an element (POST /elements). Body is FLAT. Required: element_definition_id OR element_definition_title (id takes precedence per Voog docs); page_id; title. Optional: path (auto-generated from title if omitted), values (custom-properties hash matching the element_definition's schema).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| site | Yes | ||
| element_definition_id | No | Definition id (from element_definitions_list) | |
| element_definition_title | No | Alternative to element_definition_id (id wins if both supplied) | |
| page_id | Yes | Parent page id (from pages_list) | |
| title | Yes | Element title | |
| path | No | URL slug (auto-generated from title if omitted) | |
| values | No | Custom-properties hash matching the element_definition's schema |