通过clientId查询详情
开发中
GET
/admin/client/{clientId}
请求参数
Authorization
在 Header 添加参数
Authorization
,其值为在 Bearer 之后拼接 Token示例:
Authorization: Bearer ********************
Path 参数
clientId
string
必需
Header 参数
Authorization
string
必需
示例值:
Bearer 092328bf-7d5a-457e-8994-51f1c5506766
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://devapi.maicanbao.com/admin/client/' \
--header 'Authorization: Bearer 092328bf-7d5a-457e-8994-51f1c5506766'
返回响应
🟢200成功
application/json
Body
code
integer
必需
msg
null
必需
data
object
必需
id
string
必需
clientId
string
必需
clientName
string
必需
clientSecret
string
必需
resourceIds
null
必需
scope
string
必需
authorizedGrantTypes
array[string]
必需
webServerRedirectUri
string
必需
authorities
null
必需
accessTokenValidity
integer
必需
refreshTokenValidity
integer
必需
additionalInformation
string
必需
autoapprove
string
必需
delFlag
string
必需
createBy
string
必需
updateBy
string
必需
createTime
null
必需
updateTime
string
必需
captchaFlag
string
必需
encFlag
string
必需
menuFlag
string
必需
onlineQuantity
string
必需
belongToTenantId
string
必需
belongToTenantName
string
必需
ok
boolean
必需
示例
{
"code": 0,
"msg": null,
"data": {
"id": "1",
"clientId": "pt",
"clientSecret": "pt",
"resourceIds": null,
"scope": "server",
"authorizedGrantTypes": [
"password",
"refresh_token",
"authorization_code",
"client_credentials",
"mobile"
],
"webServerRedirectUri": "https://www.baidu.com/",
"authorities": null,
"accessTokenValidity": 43200,
"refreshTokenValidity": 2592001,
"additionalInformation": "{\"enc_flag\":\"1\",\"captcha_flag\":\"0\",\"online_quantity\":\"1\"}",
"autoapprove": "true",
"delFlag": "0",
"createBy": "",
"updateBy": "admin",
"createTime": null,
"updateTime": "2023-03-08 11:32:41",
"captchaFlag": "0",
"encFlag": "1",
"onlineQuantity": "1"
},
"ok": true
}