Skip to main content
POST

Body

application/json
name
string
required

Name of the collection

schema
object
syncEnabled
boolean
default:false

Turning this property on causes the documents in your collection to be converted into rows in a DataSet every 15 minutes. Only the properties defined in the schema are synced. Requires schema to be provided — returns a 400 if syncEnabled: true is passed without a schema.

Response

Collection created successfully

id
string<uuid>

Unique identifier for the collection.

owner
integer<int64>

User ID of the collection owner.

datastoreId
string<uuid>

ID of the datastore this collection belongs to.

name
string

Name of the collection.

datasourceId
string<uuid> | null

ID of the linked Domo DataSet, or null if not yet linked.

defaultPermissions
any | null

Comma-separated default permission set for new app grants on this collection, or null if not set.

requiredAuthorities
any | null

Maps CollectionOperation names to required authority strings, or null if not set.

filters
any | null

Array of document-level filter predicates applied to read operations, or null if not set.

schema
object
syncEnabled
boolean

Whether documents are periodically synced to the linked DataSet.

syncRequired
boolean

Whether a sync is pending.

cdcEnabled
boolean

Whether change data capture is enabled for this collection.

fullReplaceRequired
boolean
lastSync
string<date-time> | null
createdOn
string<date-time>
updatedOn
string<date-time>
updatedBy
integer<int64>