框文件夹项目请求中的“ web_link”类型 [英] 'web_link' types in box folder items requests

查看:95
本文介绍了框文件夹项目请求中的“ web_link”类型的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

最近,类型为 web_link的对象开始显示在与我们合作的某些用户的项目中。当前,这与我们的应用程序混乱,因为我们希望Box返回的所有条目中都带有大小字段,而 web_link类型显然没有大小。我首先想知道为什么会这样,我认为这可能是最近公开的一些旧API的一部分。我也不确定如何复制它,因为Box API文档未提及任何相关内容。现在,我们的解决方法是只过滤最终响应,但是最好让用户知道如果不需要这些旧对象,他们将如何查找和清除这些旧对象,因此有一种方法可以

Recently objects with the type 'web_link' started showing up in the items for some of the users that we work with. This currently messes with our application because we expect a 'size' field in all of the entries that Box returns and the 'web_link' type apparently doesn't have a size. I was wondering firstly why this was happening, I think it might be part of some older API that got exposed recent. I am also not sure how to replicate it since the Box API documentation doesn't mention anything about them. Right now our work around will be to just filter the response on our end, but it would be nice to let our users know how they could find and clean up these old objects if they don't need them, so is there a way to specifically search for them?

推荐答案

我们的网络应用允许用户创建网络链接,这些链接是他们可能遇到的任何URL的链接互联网。

Our webapp allows users to create "weblinks" that are links to any URL they might come across on the internet.

它们仅显示在文件夹列表API中,并且仅被一小部分用户使用。我们可能会在不久的将来删除它们,这就是为什么它们不包含在文档中的原因。

They only show up in the folder listing API, and they are only used by a small % of users. We may remove them sometime in the near future, which is why they are not included in the documentation.

这篇关于框文件夹项目请求中的“ web_link”类型的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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