- Apps API
Apps API guide
Upgrades one or more deployed apps to their latest published version.
API-Endpunkt
POST <BaseURL>/models/deployed/apps/updateToLatestAppVersionBulk
See Base URL for the root endpoint path.
Anforderungsheader
| Kopfzeile | Wert |
|---|---|
| Autorisierung | Inhaber <access_token> |
| Inhaltstyp | application/json |
| X-UiPath-Internal-TenantId | <tenant_id> |
| X-UiPath-FolderKey | <folder_key> |
Ersetzen Sie alle Werte zwischen den spitzen Klammern <...> durch die entsprechenden Anwendungsfallwerte.
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.
Anforderungstext (erforderlich)
{
"deploymentIds": [
"deployment-id-1",
"deployment-id-2"
]
}
{
"deploymentIds": [
"deployment-id-1",
"deployment-id-2"
]
}
| Feld | Datentyp | Beschreibung |
|---|---|---|
| deploymentIds (required) | string[] | The deployment IDs of the deployed apps to upgrade. |
Antworten
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"]
}
| Feld | Datentyp | Beschreibung |
|---|---|---|
| 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 Nicht autorisiert
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.