UiPath Documentation
apps
latest
false
  • Apps API
    • 基本 URL
    • 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
重要 :
有关 Studio Web 中的应用程序项目文档,请参阅 Studio Web 文档中的“应用程序项目”一章:https://docs.uipath.com/zh-CN/studio-web/automation-cloud/latest/user-guide/apps-in-studio-web。 请注意,此内容已使用机器翻译进行了部分本地化。 新发布内容的本地化可能需要 1-2 周的时间才能完成。

Apps API guide

Edit a deployed app

Edits a deployed app's properties, such as title, description, version, and maintenance mode settings.

API 端点

PATCH <BaseURL>/models/deployed/apps/{deployedAppId}

See Base URL for the root endpoint path.

请求标头

页眉
授权承载 <access_token>
Content-Typeapplication/json
X-UiPath-Internal-TenantId<tenant_id>
X-UiPath-FolderKey<folder_key>
备注:

将尖括号 <...> 之间的所有值替换为其相应的用例值。

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.

路径变量

路径变量数据类型描述
deployedAppId (required)stringThe deployment ID of the app to edit.

请求正文 (必填)

{
  "version": 2,
  "title": "My Updated App",
  "description": "Updated description for the app.",
  "maintenanceModeData": {
    "isMaintenanceModeEnabled": false,
    "maintenanceModeUrl": "",
    "maintenanceExcludedUsers": []
  },
  "tags": ["tag1", "tag2"]
}
{
  "version": 2,
  "title": "My Updated App",
  "description": "Updated description for the app.",
  "maintenanceModeData": {
    "isMaintenanceModeEnabled": false,
    "maintenanceModeUrl": "",
    "maintenanceExcludedUsers": []
  },
  "tags": ["tag1", "tag2"]
}
字段数据类型描述
version (required)numberThe version to set for the deployed app.
title (required)stringThe display title for the deployed app.
description (required)stringThe description for the deployed app.
maintenanceModeData (optional)objectMaintenance mode configuration.
maintenanceModeData.isMaintenanceModeEnabledbooleanWhether maintenance mode is enabled.
maintenanceModeData.maintenanceModeUrlstringThe URL to redirect users to during maintenance.
maintenanceModeData.maintenanceExcludedUsersarrayUsers excluded from the maintenance redirect.
tags (optional)string[]Complete list of system tag values. Replaces all existing tags.

响应

200 OK

Returns the ID of the updated deployed app.

{
  "id": "string"
}
{
  "id": "string"
}

401 未经授权

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.

  • API 端点
  • 请求标头
  • 路径变量
  • 请求正文 (必填)
  • 响应
  • 200 OK
  • 401 未经授权
  • 403 Forbidden

此页面有帮助吗?

连接

需要帮助? 支持

想要了解详细内容? UiPath Academy

有问题? UiPath 论坛

保持更新