Forge API:获取所有更改的项目 [英] Forge API: Get all changed items

查看:49
本文介绍了Forge API:获取所有更改的项目的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要获取BIM 360中项目中所有已更改项目的列表.我可以使用forge-api做到这一点吗.

I need to get a list of all changed items in my project in BIM 360. Can I do this using forge-api.

推荐答案

Ho,关于最新问题[如果我的服务不可用,并且我会错过一些Webhook事件,我如何获得在此之后所做的所有更改最后收到的webhook事件]:

Ho, regarding with the latest question [If my service is not available and I will miss some webhook events, how can I get all the changes that were made after the last webhook event received] :

如果您要知道在一个文档文件夹中更改了哪些项目,则可以使用带过滤器的Search API.例如下面的端点将返回自一段时间以来已更新的所有项目.

If your requirement is to know which items are changed in one folder of Docs, Search API with filter can be of use. e.g. the endpoint below will return all items which are updated since a certain time.

 https://developer.api.autodesk.com/data/v1/projects/{{project_id_with_b}}/folders/{{one_folder_id}}/search?filter[attributes.lastModifiedTime]-ge=2019-10-15

更多过滤器选项在上进行了描述 https://forge.autodesk.com/zh-CN/docs/data/v2/developers_guide/filtering/

More filters options are described at https://forge.autodesk.com/en/docs/data/v2/developers_guide/filtering/

虽然您想在一次通话中了解所有更新,但我目前看不到可用的方法.虽然活动API正在开发中,但了解特定日期的所有活动可能会有所帮助,然后您可以过滤出您感兴趣的内容并找到相应的模块>>文件/资源​​等.按特定范围分类,例如管理员活动,项目活动,问题活动等.因此,不是一个调用就能知道所有更新.而且这些API可能不会在同一时间公开.

While if you wanted to know all updates in one call, I do not see currently the way is available. While, Activity API is on the way, it might be helpful to know all activities during a certain dates, then you could filter out what you are interested in and locate the corresponding module>>files/resources etc.. but Activities may probably be categorized with specific scopes e.g. admin activities, project actives, issue activities etc. so it is not one call knows all updates.. And these APIs may not be exposed in the same time.

这篇关于Forge API:获取所有更改的项目的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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