获取组织应用授权列表
GET/appcenter/apps/installedLicenseApps
获取组织应用授权列表(需组织管理员权限)
History
Version | Changes |
---|---|
v6.0.? | Added in: v6.0.? |
Responses
- 200
- 401
- 403
- 404
- 500
请求成功
- application/json
- Schema
- Example (from schema)
Schema
Array [
]
data
object[]
appID string
应用ID
policy
object
售卖策略
policy string
Possible values: [standard
, simple
, org_scale
, full_binding
]
售卖策略,standard时,才可进行用户授权,其他策略不可进行用户授权
target string
依赖应用(当policy值为full_binding时,代表这个应用的授权跟target应用绑定)
scale number
可授权规模(人数)
usage string
已授权规模(人数)
result string
本次请求结果,SUCCESS|FAIL
errorCode string
本次请求错误码
errorMsg string
本次请求错误信息
errorData object
本次请求错误元数据
{
"data": [
{
"appID": "wiki",
"policy": {
"policy": "standard",
"target": ""
},
"scale": 100,
"usage": 3
},
{
"appID": "xmind",
"policy": {
"policy": "full_binding",
"target": "wiki"
},
"edition": "enterprise",
"scale": 100,
"usage": 3
}
],
"result": "string",
"errorCode": "string",
"errorMsg": "string",
"errorData": {}
}
如果身份验证凭据不正确或丢失,则返回
- application/json
- Schema
- Example (from schema)
Schema
result string
本次请求结果,SUCCESS|FAIL
errorCode string
本次请求错误码
errorMsg string
本次请求错误信息
{
"result": "FAIL",
"errorCode": "Unauthorized",
"errorMsg": "Access token is invalid"
}