Search
Loading...
Skip to content

Interface: AssetQueryData

Defines a request for querying assets

Properties#

PropertyTypeDescription
query?stringA query string used for (fuzzy) searching of labels and tags
pagenumberThe current page queried for paginated views.
tags?stringstring[]
groups?AssetGroupsQuery only these groups
excludeGroups?AssetGroupsFilter out assets with this groups
locale?stringChoose the locale of the labels and tags for localized search and filtering
perPagenumberThe number of results queried. How many assets shall be returned regardless of the total number of assets available. Together with page this can be used for pagination.
sortingOrder?SortingOrderThe order to sort by if the asset source supports sorting. If set to None, the order is the same as the assets were added to the source.
sortKey?stringThe key that identifies the meta data value to sort by or ‘id’ to sort by the asset ID. If empty, the assets are sorted by the index.
sortActiveFirst?booleanSort assets that are marked as active first.