Ashish Narang
Ashish Narang

Reputation: 109

Box API to get file name sorted by Name

I couldn't find any documentation to sort box folder contents by Name. Do we have any API available for the same.

Upvotes: 0

Views: 540

Answers (2)

Ashish Narang
Ashish Narang

Reputation: 109

Box API now supports sort and direction attribute. For more details

https://developer.box.com/en/reference/get-folders-id-items/#param-sort

Upvotes: 0

PlusInfinite
PlusInfinite

Reputation: 206

It looks like you cannot request the items in a folder to be returned in a specific order, but you will be provided with information regarding the order they have been returned in.

Please take a look at the answer from a Box team member on a similar question: Ordering of get folder items API call

Upvotes: 1

Related Questions