UiPath Documentation
test-manager
latest
false
Test Manager 用户指南
重要 :
新发布内容的本地化可能需要 1-2 周的时间才能完成。

正在更新 API 版本

Switch your API calls from v1 to v2 in Swagger to enforce role-based access control at the project level.

使用 Swagger 更新 API 版本,以进行基于角色的访问调用。

步骤​

  1. Add /swagger/index.html to your Test Manager instance URL (for example, https://testmanager.com/swagger/index.html).
  2. 选择页面顶部的 Select a definition(选择定义),然后从下拉列表中选择 V2。

结果​

The requests include the version number and use role-based access control in the project's scope.

The following example shows a request with the version number. For the version schedule and the lists of APIs, see API version.

curl -X 'GET' \
  'https://company/testmanager/companyTenant/testmanager_/api/v2/projects' \
  -H 'accept: application/json'
curl -X 'GET' \
  'https://company/testmanager/companyTenant/testmanager_/api/v2/projects' \
  -H 'accept: application/json'

The following image shows an API call that retrieves projects in Swagger.

  • 步骤​
  • 结果​

此页面有帮助吗?

连接

需要帮助? 支持

想要了解详细内容? UiPath Academy

有问题? UiPath 论坛

保持更新