How to use the Box API to order by date and size
Hi all,
The forums mention that we can sort by name, size and date in the browser.
But how can I do that using the Box API to retrieve the list of files in a particular order.
I don't see anything in the API documentation.
I can see that this GET request works and I get the list ordered by name:
https://api.box.com/2.0/folders/0/items?fields=name,created_at,size&order=name
but this doesn't:
https://api.box.com/2.0/folders/0/items?fields=name,created_at,size&order=size OR
https://api.box.com/2.0/folders/0/items?fields=name,created_at,size&order=created_at
Also, are there any other fields by which I can sort the files? Will this functionality be added soon?
Thanks,
Mugdha
サインインしてコメントを残してください。
コメント
5件のコメント