Create collection
split_create_collectionCreate a collection. name, section, layout, and query are ALL required for both kinds — create the section first and pass its uuid. query may be {}. A smart collection auto-includes every link matching its query, now and in future (useful query keys: tags, q, domains, sort). A regular collection takes an explicit link_uuids list, which only works at creation time. After creating, CHECK visible_on_splitpage in the response — it can come back false, and the collection will not render until you PATCH it true.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | Yes | ||
| name | Yes | ||
| query | Yes | May be {} for a regular collection; the filter for a smart one | |
| layout | Yes | e.g. "grid" | |
| section | Yes | Section uuid — create the section first | |
| link_uuids | No | Regular collections only; edit later via split_update_collection | |
| image_params | No | Crop box as fractions of width/height (0-1); omit to show the whole image | |
| image_upload_id | No | Cover image: an id from split_upload_page_image (single-use). Or set it afterwards with split_set_collection_image |