接口地址 https://www.yingxiongyun.com/worksheet/api/v1/t/homeApps/{applicationId}
请求方式 GET
consumes ["application/json"]
produces ["*/*"]
接口描述 获取一条记录
请求参数
参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema |
---|---|---|---|---|---|
applicationId | applicationId | path | true | string |
响应状态
状态码 | 说明 | schema |
---|---|---|
200 | OK | 响应结果对象«应用响应返回类» |
401 | Unauthorized | |
403 | Forbidden | |
404 | Not Found |
响应参数
参数名称 | 参数说明 | 类型 | schema |
---|---|---|---|
code | 结果码 | integer(int32) | integer(int32) |
data | 结果数据 | 应用响应返回类 | 应用响应返回类 |
message | 结果描述 | string | |
timestamp | 时间戳 | integer(int64) | integer(int64) |
schema属性说明
应用响应返回类
参数名称 | 参数说明 | 类型 | schema |
---|---|---|---|
collectionFlag | 是否收藏,1:已收藏,0:未收藏 | boolean | |
deletedFlag | 删除标识 | boolean | |
description | 应用描述 | string | |
homeList | 首页集合 | array | |
icon | 应用图标 | string | |
iconColor | 应用颜色 | string | |
iconUrl | 应用头像200*200路由链接 | string | |
id | 主键ID | string | |
isEnableDelete | 是否可删除 | boolean | |
isEnableEdit | 是否可编辑 | boolean | |
name | 应用名称 | string | |
status | 应用状态,可用值:ACTIVE,TEMPLATE,GARBAGE,DELETED | string | |
type | 分组首页搜索类型 | string |
响应示例
xxxxxxxxxx
{
"code": 0,
"data": {
"collectionFlag": false,
"deletedFlag": false,
"description": "",
"homeList": [],
"icon": "",
"iconColor": "",
"iconUrl": "",
"id": "",
"isEnableDelete": false,
"isEnableEdit": false,
"name": "",
"status": "",
"type": ""
},
"message": "",
"timestamp": 0
}