Skip to main content

CreateCollectionRequest

Request to create a collection.

conditionobject | nullnullable

Optional membership rule. When present the collection is automatic: its members are resolved from this condition on every read and cannot be added or removed by hand.

Typed rather than free-form JSON, so a condition outside the grammar is rejected before it can be stored.

namestringrequired
Example: Batman
orderedboolean

Defaults to false (members default to sorting by title).

Rejected alongside condition: an automatic collection has no manual arrangement to preserve.

Example: false
summarystring | nullnullable

Optional description.

CreateCollectionRequest
{
"condition": "Unknown Type: object,null",
"name": "Batman",
"ordered": false,
"summary": "string"
}