获取组织可授权应用列表
GET/license/apps
获取组织可授权应用列表(需组织管理员权限)
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[]
应用ID
policy
object
售卖策略
Possible values: [standard
, simple
, org_scale
, full_binding
]
售卖策略
依赖应用(当policy值为full_binding时,代表这个应用的授权跟target应用绑定)
可授权规模(人数)
已授权规模(人数)
The result of this request.
The error code of this request.
Error message for this request.
Error meta data for this request.
{
"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": {}
}
Returned if the authentication credentials are incorrect or missing.
- application/json
- Schema
- Example (from schema)
Schema
The result of this request.
The error code of this request.
Error message for this request.
{
"result": "FAIL",
"errorCode": "Unauthorized",
"errorMsg": "Access token is invalid"
}
Returns if the scope check fails.
- application/json
- Schema
- Example (from schema)
Schema
The result of this request.
The error code of this request.
Error message for this request.
{
"result": "FAIL",
"errorCode": "Forbidden",
"errorMsg": "Scope is invalid"
}
Returned if the resource object was not found.
- application/json
- Schema
- Example (from schema)
Schema
The result of this request.
The error code of this request.
Error message for this request.
{
"result": "FAIL",
"errorCode": "NotFound",
"errorMsg": "Not Found"
}
Internal Server Error.
- application/json
- Schema
- Example (from schema)
Schema
The result of this request.
The error code of this request.
Error message for this request.
{
"result": "FAIL",
"errorCode": "Internal Server Error",
"errorMsg": "Internal Server Error"
}