游标方式查询指定ResourceServer下的Scope权限列表。
调试
您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。
调试
授权信息
|
操作 |
访问级别 |
资源类型 |
条件关键字 |
关联操作 |
|
eiam:ListResourceServerScopes |
list |
*ResourceServerScope
|
无 | 无 |
请求参数
|
名称 |
类型 |
必填 |
描述 |
示例值 |
| InstanceId |
string |
是 |
实例 ID。 |
idaas_ue2jvisn35ea5lmthk267xxxxx |
| NextToken |
string |
否 |
下一页查询凭证(Token),取值为上一次 API 调用返回的 NextToken 参数值。首次查询为空。 |
NTxxxxxexample |
| MaxResults |
integer |
否 |
分页查询时每页行数。 |
20 |
| ApplicationId |
string |
是 |
应用 ID。 |
app_mkv7rgt4d7i4u7zqtzev2mxxxx |
| ResourceServerScopeName |
string |
否 |
Scope 权限名称。 |
读取全部用户 |
| ResourceServerScopeValue |
string |
否 |
Scope 权限值。 |
User:Write:ALL |
| PreviousToken |
string |
否 |
上一页查询凭证(Token),取值为上一次 API 调用返回的 PreviousToken 参数值。 |
PTxxxxxexample |
| ResourceServerScopeType |
string |
否 |
Scope 权限类型。 枚举值:
|
urn:alibaba:idaas:resourceserver:scope:delegated |
| AuthorizationType |
string |
否 |
授权类型。 枚举值:
|
authorize_required |
| ResourceServerScopeIds |
array |
否 |
Scope 权限 ID 列表。 |
|
|
string |
否 |
Scope 权限 ID。 |
ress_neg35flu6byysxwutaxu3dxxxx |
返回参数
|
名称 |
类型 |
描述 |
示例值 |
|
object |
|||
| RequestId |
string |
请求 ID。 |
0441BD79-92F3-53AA-8657-F8CE4A2B912A |
| TotalCount |
integer |
列表总条数目。 |
100 |
| NextToken |
string |
下一页查询凭证(Token)。 |
NTxxxexample |
| MaxResults |
integer |
分页查询时每页行数。 |
20 |
| ResourceServerScopes |
array<object> |
ResourceServer 下的 Scope 权限列表。 |
|
|
object |
|||
| InstanceId |
string |
实例 ID。 |
idaas_xxxxxxxxxxx |
| ApplicationId |
string |
应用 ID。 |
app_xxxxxxxxxxx |
| ResourceServerScopeId |
string |
Scope 权限 ID。 |
rss_xxxxxxxxxxx |
| ResourceServerScopeName |
string |
Scope 权限名称。 |
读取全部用户 |
| ResourceServerScopeValue |
string |
Scope 权限值。 |
User:Write:ALL |
| ResourceServerScopeType |
string |
Scope 权限类型。 |
urn:alibaba:idaas:resourceserver:scope:delegated |
| AuthorizationType |
string |
授权类型。 枚举值:
|
authorize_required |
| PreviousToken |
string |
上一页查询凭证(Token)。 |
PTxxxexample |
示例
正常返回示例
JSON格式
{
"RequestId": "0441BD79-92F3-53AA-8657-F8CE4A2B912A",
"TotalCount": 100,
"NextToken": "NTxxxexample",
"MaxResults": 20,
"ResourceServerScopes": [
{
"InstanceId": "idaas_xxxxxxxxxxx",
"ApplicationId": "app_xxxxxxxxxxx",
"ResourceServerScopeId": "rss_xxxxxxxxxxx",
"ResourceServerScopeName": "读取全部用户",
"ResourceServerScopeValue": "User:Write:ALL",
"ResourceServerScopeType": "urn:alibaba:idaas:resourceserver:scope:delegated",
"AuthorizationType": "authorize_required"
}
],
"PreviousToken": "PTxxxexample"
}
错误码
访问错误中心查看更多错误码。
变更历史
更多信息,参考变更详情。