Theme

Methods & Playground

Get Assets By Group

Return the list of assets given a group (key, value) pair. For example this can be used to get all assets in a collection.

Parameters

NameRequiredDescription
groupKeyβœ…The key of the group (e.g., "collection").
groupValueβœ…The value of the group.
sortBySorting criteria. This is specified as an object { sortBy: <value>, sortDirection: <value> }, where sortBy is one of ["created", "updated", "recentAction", "id", "none"] and sortDirection is one of ["asc", "desc"]
limitThe maximum number of assets to retrieve.
pageThe index of the "page" to retrieve.
beforeRetrieve assets before the specified ID.
afterRetrieve assets after the specified ID.
optionsDisplay options object. See Display Options for details.

Playground

Previous
Get Assets By Creator