Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在尝试编写一个脚本来以编程方式同步 Box 文件夹,我首先需要知道该文件夹是否已同步。
获取文件夹信息时,可以请求该sync_state参数,默认不返回。sync_state的可能值为synced、not_synced和partially_synced。文件继承其父文件夹的同步状态。
sync_state
synced
not_synced
partially_synced
文件夹信息:GET https://api.box.com/folders/12345?fields=sync_state
GET https://api.box.com/folders/12345?fields=sync_state
Box V2 API 文档中列出了这些参数:
http://developers.box.com/docs/#folders-folder-object