- sso
- admin
- applications
- auth
- auth-eth
- access
- newsletter
- user
- wallet
- Get API versionGET
auth-me
GET
/auth/@
请求参数
Header 参数
Authorization
string
必需
示例值:
Bearer {{token}}
示例代码
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://sso.gameown.io/api/auth/@' \
--header 'Authorization: Bearer '
返回响应
🟢200success
application/json
Body
id
integer
必需
email
string
必需
identifier
string
必需
role
object
必需
role
string
必需
isStaff
boolean
必需
access
object
必需
whitelist
object
必需
earlyAccess
object
必需
wallets
object
必需
ethWallet
string | null
必需
createdAt
string
必需
updatedAt
string
必需
示例
{
"id": 1,
"email": "kevin@rct.ai",
"identifier": "f3806ab7-eb3e-4bd7-baeb-5edb55e4c3f0",
"role": {
"role": "admin",
"isStaff": true
},
"access": {
"whitelist": {
"authorized": true,
"attributes": {
"isWhitelisted": false,
"isStaff": true,
"isOpen": false
}
},
"earlyAccess": {
"authorized": true,
"attributes": {
"isEATester": false,
"isStaff": true,
"isOpen": true
}
}
},
"wallets": {
"ethWallet": null
},
"createdAt": "2022-04-24T11:16:32.000Z",
"updatedAt": "2022-05-06T08:19:31.000Z"
}
修改于 2023-03-16 14:04:33