/api/item/list

GET Get items that match the filter condition.

Parameter

Description

limit

The number of items to be displayed. the default number is 200

offset

Offset a collection of results from the api. Start with 0.

orderBy

The sorting order.CREATEDATE , FILESIZE , NAME , RESOLUTION , add a minus sign for descending order: -FILESIZE

keyword

Filter by the keyword

ext

Filter by the extension type, e.g.: jpg , png

tags

Filter by tags. Use , to divide different tags. E.g.: Design, Poster

folders

Filter by Folders. Use , to divide folder IDs. E.g.: KAY6NTU6UYI5Q,KBJ8Z60O88VMG

Sample Code:

var requestOptions = {
  method: 'GET',
  redirect: 'follow'
};

fetch("http://localhost:41595/api/item/list?orderBy=-RESOLUTION&limit=10&ext=svg&name=character&folders=KB90R2VNPHH3V&tags=test,test2", requestOptions)
  .then(response => response.json())
  .then(result => console.log(result))
  .catch(error => console.log('error', error));

Results Returned:

Last updated

Was this helpful?