Get Collections
Use this method to get metadata of multiple collections at the same time.
Usage in your script
Parameters
Last updated
Use this method to get metadata of multiple collections at the same time.
Last updated
Parameter | Type | Required | Description |
---|---|---|---|
perPage
number
Optional
The number of collections to return
page
number
Optional
The offset for returned collections. Calculated as (page - 1) * perPage
sortBy
String
Optional
The field to sort the collections by (any field in the collection schema may be used)
sortDir
"asc" | "desc"
Optional
Choose to sort in ascending (asc) or descending (desc) order