- Apps API
Apps API guide
Upgrades one or more deployed apps to their latest published version.
Punto final de API
POST <BaseURL>/models/deployed/apps/updateToLatestAppVersionBulk
See Base URL for the root endpoint path.
Solicitar encabezados.
| Encabezado | Valor |
|---|---|
| Autorización | Portador <access_token> |
| Tipo de contenido | application/json |
| X-UiPath-Internal-TenantId | <tenant_id> |
| X-UiPath-FolderKey | <folder_key> |
Reemplaza todos los valores entre corchetes angulares <...> con sus valores de caso de uso correspondientes.
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.
Cuerpo de la solicitud (obligatorio)
{
"deploymentIds": [
"deployment-id-1",
"deployment-id-2"
]
}
{
"deploymentIds": [
"deployment-id-1",
"deployment-id-2"
]
}
| Campo | Tipo de datos | Descripción |
|---|---|---|
| deploymentIds (required) | string[] | The deployment IDs of the deployed apps to upgrade. |
Respuesta
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"]
}
| Campo | Tipo de datos | Descripción |
|---|---|---|
| updatedDeployments | array | The list of successfully upgraded deployments. |
| updatedDeployments[].id | string | The deployment ID. |
| updatedDeployments[].appSystemName | string | The system name of the app. |
| updatedDeployments[].version | number | The new version number after upgrade. |
| failedItems | string[] | The deployment IDs that failed to upgrade. |
401 No 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.