Warning: file_get_contents(/data/phpspider/zhask/data//catemap/8/lua/3.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Box api 是否可以与API v2.0共享web_链接?_Box Api - Fatal编程技术网

Box api 是否可以与API v2.0共享web_链接?

Box api 是否可以与API v2.0共享web_链接?,box-api,Box Api,您可以在Box文件夹上创建web_链接文件。 web_链接可以通过Box UI共享,但我无法使用API v2.0: 都不是: PUT/files/{file id}nor PUT/web\u links/{file id} 工作。当与web_链接的id一起使用时,两者都返回HTTP 404 这是受支持的还是我遗漏了什么?我认为API文档中的共享项可能就是您想要的: 引述: 一旦检索到该项,就可以对其进行API请求 实际资源(/files/{id}或/folders/{id})的长度与 共享链接

您可以在Box文件夹上创建web_链接文件。 web_链接可以通过Box UI共享,但我无法使用API v2.0:

都不是:
PUT/files/{file id}nor
PUT/web\u links/{file id}
工作。当与web_链接的id一起使用时,两者都返回HTTP 404


这是受支持的还是我遗漏了什么?

我认为API文档中的共享项可能就是您想要的:

引述:

一旦检索到该项,就可以对其进行API请求 实际资源(/files/{id}或/folders/{id})的长度与 共享链接和可选密码位于标题中


web_链接尚未共享,因此我没有它的共享链接。实际上我正试图通过API共享它。无论如何,问题是我无法使用/files/{id}访问资源,可能是因为它不是一个文件。不管怎样,问题仍然存在……似乎对web\u链接的支持被进一步破坏了。
现在,在请求获取文件夹内容时,即使是共享的\u链接也不会返回