0

根据 Box.Com 文档,要检索文件夹的项目,我们必须通过

https://api.box.com/2.0/folders/FOLDER_ID/items

我们会得到这样的回应:

{
"total_count": 24,
"entries": [
    {
        "type": "folder",
        "id": "192429928",
        "sequence_id": "1",
        "etag": "1",
        "name": "Stephen Curry Three Pointers"
    },

我只想获取“total_count”。端点应该是什么样子?

问候

4

1 回答 1

0

我认为你能做的最好的就是指定limit=0:

https://api.box.com/2.0/folders/FOLDER_ID/items?limit=0

于 2013-11-07T19:18:38.200 回答