at the time I'm asking the folder items, where can I get it's file's detail?
AnsweredI can't get the detail info of files when i'm asking the folder items.(
https://api.box.com/2.0/folders/FOLDER_ID/items
)The json object does'n contain the file's detail information, such as file's size.
So, I must get the folder items first, then get the detail info for every file, it is too waste time.
like this:
if (getFolderItems()) {
...
for (auto iter : folderItems) {
getItemDetail(iter);
...
}
}
tips1: i'm using c++
tips2:can i at least get file's size when i'm asking folder items?
-
Use the fields parameter to request the fields that you want in the file details.
Please sign in to leave a comment.
Comments
2 comments