且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

回顾API:仅返回可见的工作项

更新时间:2023-12-02 17:45:40

这是一个故意的设计决策.我们希望确保当两个不同的人查看同一份报告时,它们的外观相同.我们以前的报告系统的主要改进之一是能够向某人发送报告链接,并确保所有查看者都可以查看该报告.

This was an intentional design decision. We wanted to make sure that the same report would appear the same when viewed by two different people. One of the main enhancements to our previous reporting system was the ability to send someone a link to a report and be assured that the report would be viewed the same by all viewers.

我们添加了一个参数,该参数将结果限制为仅用户有权查看的快照.

We have added a parameter that will restrict the results to only the snapshots that the user has permissions to see.

如果将& removeUnauthorizedSnapshots = true添加到请求的网址,它将过滤掉您想要的响应,而不必提供每个项目.

If you add &removeUnauthorizedSnapshots=true to the url of the request it will filter out the responses you want without having to provide every single project.