作用:查询用户有权限使用的应用列表
路径:/rpa/openapi/app/ListApplications
类型:GET
请求参数:
名称 | 类型 | 是否必选 | 示例值 | 描述 |
CurrentPage | Integer | 否 | 1 | 当前页码,默认第1页 |
PageSize | Integer | 否 | 20 | 每页显示记录数,默认每页20个,最大能返回100条数据 |
返回参数:
返回参数公共字段请查阅返回结果,返回参数中的 data 字段说明如下:
名称 | 类型 | 示例值 | 描述 |
AppId | String | de6f8980-f6cc-48d7-aac8-3b0090c2d12f | 应用ID |
AppName | String | 示例应用 | 应用名称 |
AppLatestVersion | String | 0.1.2 | 应用当前版本 |
AppIntroduction | String | 示例应用简介 | 应用介绍 |
AppLatestUpdateTime | String | 2022-05-12 16:10:44 | 应用最后一次更新时间,采用java的datetime格式,用户使用北京时间即可 |
AppStatus | String | publish | publish:已发布 unshelve:下架 |
AppType | String | console | project:工程发布 buy:购买 console:控制台 |
AppOwner | String | employee_1 | 应用联系人 |
说明
本接口是查询用户有权限使用的应用列表,但服务型机器人可以运行您开发的所有应用。
请求示例:
https://console-rpa.aliyun.com/rpa/openapi/app/ListApplications?
&CurrentPage=1
&PageSize=2
&公共请求参数说明
公共参数详见本文档【公共参数】小节
返回示例:
返回参数公共字段请查阅返回结果,返回参数中的 data 字段说明如下:
{
"requestId": "91b3d8a8-22d5-4656-b6ef-433038f9d518",
"success": true,
"code": 0,
"msg": "调用成功",
"msgCode": "result.success",
"data": [
{
"AppId": "b6efa055-f17d-4cea-9066-d992b0c6013e",
"AppName": "example1",
"AppLatestVersion": "1000",
"AppIntroduction": "示例应用说明",
"AppLatestUpdateTime": "2022-02-23 18:03:14",
"AppStatus": "publish",
"AppType": "project",
"AppOwner": "admin"
},
{
"AppId": "448db080-67ee-4121-9116-943455c58b4d",
"AppName": "example2",
"AppLatestVersion": "1000",
"AppIntroduction": "示例应用说明",
"AppLatestUpdateTime": "2021-11-17 22:37:50",
"AppStatus": "publish",
"AppType": "project",
"AppOwner": "admin"
}
],
"pager": {
"currentPage": 1,
"totalPage": 2,
"pageSize": 2,
"total": 4,
"limit": 2,
"offset": 0
},
"instanceId": null
}该文章对您有帮助吗?