OneDrive Api [英] OneDrive Api

查看:321
本文介绍了OneDrive Api的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好

推荐答案

这是大多数REST API的工作方式。文件夹中可以有任意数量的项目,因此API会限制您在任何时间可以获得的数量。在大多数情况下,API允许您指定所需的数量,但服务器也会设置上限。声音
,默认情况下,OneDrive为200。要(尝试)请求更多,您可以在查询中使用
This is how most REST APIs work. There can be an arbitrary # of items in a folder so the API limits how much you can get at any one time. In most cases an API allows you to specify how many you want but the server will set an upper limit as well. Sounds like the default is 200 for OneDrive. To (try) to request more you'd use the


top参数。 OneDrive遵循

OData
查询模式。要对页面结果进行分页,您不断使用相同的
top parameter in the query. OneDrive follows the OData query pattern here. To page results you'd continually call the API with the same


最高值调用API,但增量
top value but increment


这篇关于OneDrive Api的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆