UiPath Documentation
apps
latest
false
  • Apps API
    • URL base
    • Get deployed apps
    • Edit a deployed app
    • Deploy a published app version
    • Upgrade deployed apps to latest version
    • Publish a coded app
    • Check app name uniqueness
    • Get published apps
    • Get published app versions
Importante :
Para obter documentação sobre projetos de aplicativos no Studio Web, consulte o capítulo Projetos de aplicativos na documentação do Studio Web: https://docs.uipath.com/pt-BR/studio-web/automation-cloud/latest/user-guide/apps-in-studio-web. A tradução automática foi aplicada parcialmente neste conteúdo. A localização de um conteúdo recém-publicado pode levar de 1 a 2 semanas para ficar disponível.

Apps API guide

Upgrade deployed apps to latest version

Upgrades one or more deployed apps to their latest published version.

Ponto de Extremidade da API

POST <BaseURL>/models/deployed/apps/updateToLatestAppVersionBulk

See Base URL for the root endpoint path.

Cabeçalhos de solicitação.

CabeçalhoValor
AutorizaçãoO portador <access_token>
Tipo de conteúdoapplication/json
X-UiPath-Internal-TenantId<tenant_id>
X-UiPath-FolderKey<folder_key>
Observação:

Substitua todos os valores entre os colchetes angulares <...> por seus valores de caso de uso correspondentes.

The <access_token> is the one you received when you authorized the external application with the Apps or Apps.Write scope, and the OR.Folders.Read scope. It is available for 1 hour, then you need to generate a new one, or request a refresh token.

Corpo da solicitação (obrigatório)

{
  "deploymentIds": [
    "deployment-id-1",
    "deployment-id-2"
  ]
}
{
  "deploymentIds": [
    "deployment-id-1",
    "deployment-id-2"
  ]
}
CampoTipo de dadosDescription
deploymentIds (required)string[]The deployment IDs of the deployed apps to upgrade.

Resposta

200 OK

Returns the list of successfully updated deployments and any failed items.

{
  "updatedDeployments": [
    {
      "id": "string",
      "appSystemName": "string",
      "version": 3
    }
  ],
  "failedItems": ["deployment-id-2"]
}
{
  "updatedDeployments": [
    {
      "id": "string",
      "appSystemName": "string",
      "version": 3
    }
  ],
  "failedItems": ["deployment-id-2"]
}
CampoTipo de dadosDescription
updatedDeploymentsarrayThe list of successfully upgraded deployments.
updatedDeployments[].idstringThe deployment ID.
updatedDeployments[].appSystemNamestringThe system name of the app.
updatedDeployments[].versionnumberThe new version number after upgrade.
failedItemsstring[]The deployment IDs that failed to upgrade.

401 não autorizado

You are not authenticated. Make sure you are using a valid access token with the Apps or Apps.Write scope.

403 Forbidden

You don't have permission to edit deployed apps in the specified folder.

  • Ponto de Extremidade da API
  • Cabeçalhos de solicitação.
  • Corpo da solicitação (obrigatório)
  • Resposta
  • 200 OK
  • 401 não autorizado
  • 403 Forbidden

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