如何列出 Forge - Design Automation for Revit 中所有正在运行的工作项?
我想运行工作项来跟踪已发布工作项的进度。
可以通过提供 ID 来获取给定工作项的详细信息,如下所示:
https://developer.api.autodesk.com/da/us-east/v3/workitems/{{workitemId}}
但我已经发布了多个作业,并且使用邮递员,只有最后一个 ID 被保存到环境变量中。
我尝试获取没有查询字符串的通用 /workitems 端点,但结果是“请求的资源不存在”。
我已经阅读过,如果能获得更多有关特定端点的文档就好了 开发人员指南 但找不到答案。
我希望rest api能够返回工作项列表,就像它对活动或应用程序包所做的那样。
I would like to get running workitems to track progress of the posted workitems.
It is possible to get details to a given workitem by providing an ID, like this:
https://developer.api.autodesk.com/da/us-east/v3/workitems/{{workitemId}}
but I have posted multiple jobs, and using postman, only the last ID gets saved to an environment variable.
I tried getting the generic /workitems endpoints without query strings, but the result was that "The requested resource does not exist."
It would be nice to get a bit more documentation about the specific endpoints, I have read
The developers_guide
but could not find an answer.
I would expect a rest api to give back a list of workitems, just like it does it for activites or appbundles.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
Design Automation 没有用于列出工作项的 API。我们只保留 WorkItem 的报告 3 天。
您可以使用此 API 通过提供给定工作项的 ID 来获取其详细信息。
Design Automation doesn't have an API to list WorkItems. We only keep WorkItem's reports for 3 days.
You can use this API to get details of a given workitem by providing its id.