apps
latest
false
重要 :
有关 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
Deploys a previously published version of an app to a folder.
API 端点
POST <BaseURL>/models/{appSystemName}/publish/versions/{version}/deploy
See Base URL for the root endpoint path.
请求标头
| 页眉 | 值 |
|---|---|
| 授权 | 承载 <access_token> |
| Content-Type | application/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.
路径变量
| 路径变量 | 数据类型 | 描述 |
|---|---|---|
| appSystemName (required) | string | The system name of the app to deploy. |
| version (required) | number | The published version number to deploy. |
Request body (optional)
{
"tags": ["tag1", "tag2"]
}
{
"tags": ["tag1", "tag2"]
}
| 字段 | 数据类型 | 描述 |
|---|---|---|
| tags (optional) | string[] | System tag values to attach to the deployed app. |
响应
200 OK
Returns the ID of the newly created deployment.
{
"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 deploy apps in the specified folder.