UiPath Documentation
integration-service
latest
false
Guia do usuário do Integration Service
Importante :
Este conteúdo foi traduzido com auxílio de tradução automática. A tradução dos pacotes de Conetores disponíveis no Integration Service é efetuada automaticamente. A localização de um conteúdo recém-publicado pode levar de 1 a 2 semanas para ficar disponível.

Acesso à API

Call the Integration Service API from an external application, using OAuth 2.0 authorization and Integration Service scopes.

Visão geral

The Integration Service API lets you work with Integration Service resources from an external application of your choice. You authorize the application through the OAuth 2.0 framework, so a service or script can authenticate on its own instead of relying on a signed-in user session, and without sharing any credentials.

Use it to call Integration Service from a CI/CD pipeline that publishes or deploys a solution referencing a custom connector, or from a coded app or agent that needs to create or manage its own Integration Service connections without a signed-in user.

Access is confined to the scopes you grant. An external application, or a user acting through one, cannot exceed those permissions. Existing API access using user tokens is unchanged.

Permissões de API

To call the Integration Service API, you must grant API permissions to the external application. These permissions are known as scopes. Add them in Automation Cloud under Admin > External Applications, by adding Integration Service as a resource.

EscopoGrantsAvailable as
IS.Connections.ReadRead access to connections.User scope
IS.Connectors.ReadRead access to connectors, including downloading a custom connector.User scope, application scope
IS.Connector.ExportNot used. No endpoint requires this scope.N/A
Importante:

IS.Connections.Read is a user scope only. An external application that authenticates on its own, without a signed-in user, cannot be granted it.

Non-confidential applications can be granted user scopes only. For the difference between the application types and between user and application scopes, see Authorizing external applications.

Autorizando as chamadas de API

Authorize your external application by creating an access token for it. Use the App ID and App Secret generated when you registered the application. The authorization method depends on the application's type, confidential or non-confidential.

Saiba mais sobre os métodos de autorização para apps externos.

Send the token as a bearer token on your requests. A token is valid for one hour. To keep calling the API after that, generate a new access token or request a refresh token.

Folder scope

An external application must target a single folder on every request, using the X-UIPATH-FolderKey header, and it needs the Connections.View permission in that folder. Requests that omit the header, and requests that ask for all folders, are rejected.

A connection that exists in a different folder from the one you targeted is reported as not found, rather than as forbidden.

Available endpoints

The API guide currently documents these endpoints:

Responses to an external application omit the connection owner, the element instance ID, the polling interval, and the bring-your-own-app flag. A connection's configuration is returned only to callers holding the configuration read scope, and secret values such as API keys and OAuth tokens are never returned.

For details on each endpoint, see the Integration Service API guide.

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