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
Retrieves all published versions of a specific app in a tenant.
API 端点
GET <BaseURL>/models/{appSystemName}/tenants/{cloudTenantId}/publish/versions
See Base URL for the root endpoint path.
请求标头
| 页眉 | 值 |
|---|---|
| 授权 | 承载 <access_token> |
| X-UiPath-Internal-TenantId | <tenant_id> |
备注:
将尖括号 <...> 之间的所有值替换为其相应的用例值。
The <access_token> is the one you received when you authorized the external application with the Apps or Apps.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. |
| cloudTenantId (required) | string | The cloud tenant ID. |
查询参数
| 查询参数 | 数据类型 | 描述 | 默认值 |
|---|---|---|---|
| top (optional) | int32 | The number of results to return. | 不适用 |
| skip (optional) | int32 | The number of results to skip. | 不适用 |
| orderBy (optional) | string | The field to order results by. | 不适用 |
响应
200 OK
{
"@odata.context": "string",
"@odata.count": 2,
"value": [
{
"systemName": "string",
"title": "string",
"deployVersion": 1
},
{
"systemName": "string",
"title": "string",
"deployVersion": 2
}
]
}
{
"@odata.context": "string",
"@odata.count": 2,
"value": [
{
"systemName": "string",
"title": "string",
"deployVersion": 1
},
{
"systemName": "string",
"title": "string",
"deployVersion": 2
}
]
}
| 字段 | 数据类型 | 描述 |
|---|---|---|
| @odata.context | string | The OData context URL. |
| @odata.count | number | The total number of published versions for the app. |
| 值 | array | The list of published app versions. |
| value[].systemName | string | The system name of the version. |
| value[].title | string | The display title of the app version. |
| value[].deployVersion | number | 版本号。 |
401 未经授权
You are not authenticated. Make sure you are using a valid access token with the Apps or Apps.Read scope.
403 Forbidden
You don't have permission to view app versions in the specified tenant.