List assets
List assets in a project
/api/v2/assetsAuthentication WLT-Api-Key
List live assets in the key's project. Follow opaque pagination tokens rather than constructing them. Read the guide.
Query parameters
originResourceOrigin | null"APPLET", "DEVELOPER_API"stateAssetState | nullFilter by state. Omit for all non-deleted states.
"CREATED", "UPLOADING", "READY", "DELETED"sessionstring | nullOnly assets made inside this Web API session.
appletstring | nullOnly assets that came from this applet.
mimeTypestring | nullOnly assets of this media type. A trailing /*, as in image/*, matches every type in the family.
operationstring | nullOnly assets this Operation produced.
taskstring | nullOnly assets this task produced, e.g. atlasGenerate.
producerAssetProducer | nullOnly assets made this way, e.g. UPLOAD for the customer's own bytes. Assets recorded before the producer was stored match no value.
"UPLOAD", "IMPORT", "TASK"groupBy"OPERATION" | nullCollect the assets under what produced them. The page then counts groups rather than assets.
"OPERATION"orderBystringOrder of the page. A grouped page orders each group by its leading asset: its newest one descending, its oldest ascending.
"CREATE_TIME_DESC""CREATE_TIME_DESC", "CREATE_TIME_ASC"pageSizeinteger50pageTokenstring | nullResponses
200
Successful Response
application/json
One page of a project's assets, flat or grouped.
assets and groups are alternatives rather than a pair: a request
that named no groupBy fills the first and leaves the second empty, and
one that named a grouping does the reverse. The page token pages whichever
of the two was filled, so a grouped page counts groups.
assetsarray<Asset>Assets in the selected page. Empty when the request named a grouping.
groupsarray<AssetGroup>Set only when the request named a grouping. An asset the grouping cannot place is absent - uploads and imports have no producing task - so list without a grouping to reach those.
nextPageTokenstringOpaque token for the next page; empty on the final page.
""422
Validation Error
application/json
detailarray<ValidationError>