Skip to main content
POST

Path Parameters

collectionName
string
required

The name given to the collection in the manifest. Case-sensitive.

Query Parameters

groupby
string

Comma-separated list of properties to group by

count
string

Alias for count aggregation

avg
string

property alias pairs, comma-separated — computes the average of each property. Alias is used as the key in the response.

min
string

property alias pairs, comma-separated — computes the minimum of each property.

max
string

property alias pairs, comma-separated — computes the maximum of each property.

sum
string

property alias pairs, comma-separated — computes the sum of each property.

unwind
string

Comma-separated list of properties to unwind (deconstructs an array field, producing one document per element). Must be combined with at least one of count, groupby, avg, min, max, or sum.

orderby
string

Field name or aggregation alias to sort by, followed by ascending or descending. Without aggregation, accepts field names in dot notation; with aggregation, accepts aliases defined by other parameters.

limit
integer
default:10000

Maximum number of documents to return

offset
integer
default:0

Number of documents to skip

Body

application/json

MongoDB query object

Response

Array of matching documents

id
string<uuid>

Unique identifier for the Document

datastoreId
string<uuid>

Unique identifier of the Datastore that this Document's Collection belongs to.

collectionId
string<uuid>

Unique identifier of the Collection this Document belongs to.

syncRequired
boolean

Whether or not this Document needs to be synced by Domo to the associated DataSet; only applies if the syncEnabled option is on for the Collection.

owner
string

User ID of the Document owner.

createdBy
string

User ID of the user who created the Document.

createdOn
string<date-time>

The ISO-8601 timestamp showing when this Document was created.

updatedOn
string<date-time>

The ISO-8601 timestamp showing when this Document was last updated.

updatedBy
string

User ID of the user who last updated the Document.

content
object

The actual Document content