Get section schema
GET/api/v1/schemas/section
Get the section schema in different formats (extracted from document schema). This schema is used for validating individual sections in add section and update section endpoints.
A section can be either:
- flow: Flowing content across multiple pages
- page: Single styled page with custom positioning
Available formats:
- json (default): JSON Schema format
- ts: TypeScript type definitions
- zod: Zod schema for runtime validation
Request
Responses
- 200
- 400
Section schema retrieved successfully
Invalid type parameter