Create a new collection with custom schema.
Creates an Alembic migration and applies it to create the physical table. Only superadmins can create collections.
Request body for creating a new collection.
Collection name (3-64 chars, alphanumeric + underscores)
3 - 64List of field definitions (at least one required)
1Filter expression for listing records
Filter expression for viewing records
Validation expression for creating records
Filter/validation expression for updates
Filter expression for deletions
Fields visible in list operations
Fields visible in view operations
Fields allowed in create requests
Fields allowed in update requests
Successful Response
Response for a created collection.
Collection ID (UUID)
Collection name
Physical table name in database
Collection schema
When the collection was created
When the collection was last updated