UiPath Documentation
test-manager
latest
false
Guia do usuário do Test Manager
Importante :
A localização de um conteúdo recém-publicado pode levar de 1 a 2 semanas para ficar disponível.

Updating API version

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

Atualize a versão da API usando o Swagger para fazer chamadas de acesso baseadas em função.

Etapas​

  1. Add /swagger/index.html to your Test Manager instance URL (for example, https://testmanager.com/swagger/index.html).
  2. Selecione Selecionar uma definição na parte superior da página e selecione V2 na lista suspensa.

Resultado​

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.

  • Etapas​
  • Resultado​

Esta página foi útil?

Conectar

Precisa de ajuda? Suporte

Quer aprender? Academia UiPath

Tem perguntas? Fórum do UiPath

Fique por dentro das novidades