The Collections service allows you to create, read, update, and delete collections.Documentation Index
Fetch the complete documentation index at: https://docs.snackbase.dev/llms.txt
Use this file to discover all available pages before exploring further.
Overview
List Collections
Get a Collection
Get Collection Names
Create a Collection
To update the fields of a collection, you typically need to create a
migration. See the Migrations service for more details.
Update a Collection
Delete a Collection
Export Collections
Export collections to JSON format for backup or migration:Exporting collections requires superadmin authentication. The export
includes collection schemas and rules, but not the actual records.
Import Collections
Import collections from a previous export:strategy parameter determines how conflicts are handled:
error- Fail if a collection already exists (default)skip- Skip existing collections, only import new onesupdate- Update existing collections with the schema from the import
Importing collections requires superadmin authentication. The import
result includes per-collection status and migration IDs for tracking.
Field Types
| Type | Description |
|---|---|
text | Single-line text |
number | Numeric value |
boolean | True/false value |
date | Date/time value |
select | Single choice from options |
json | JSON object |
Next Steps
- Records Service - Manage records in collections
- Query Builder - Query collection data
- Rules - Understand permission rules