UiPath Documentation
test-manager
latest
false
Test Manager-Benutzerhandbuch
Wichtig :
Es kann 1–2 Wochen dauern, bis die Lokalisierung neu veröffentlichter Inhalte verfügbar ist.

Updating API version

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

Aktualisieren Sie die API-Version mit Swagger, um rollenbasierte Zugriffsaufrufe zu erstellen.

Schritte​

  1. Add /swagger/index.html to your Test Manager instance URL (for example, https://testmanager.com/swagger/index.html).
  2. Wählen Sie oben auf der Seite „Eine Definition auswählen“ aus und anschließend „V2“ in der Dropdownliste.

Ergebnis​

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.

  • Schritte​
  • Ergebnis​

War diese Seite hilfreich?

Verbinden

Benötigen Sie Hilfe? Support

Möchten Sie lernen? UiPath Academy

Haben Sie Fragen? UiPath-Forum

Auf dem neuesten Stand bleiben