查询事件
POST
/myauth/web/getEvent
请求参数
Header 参数
token
string
必需
示例值:
2b036bd8139e44e1a8034e371d9584a7
Body 参数application/json
id
integer
函数id
示例
{
"id": 1
}
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST '/myauth/web/getEvent' \
--header 'token: 2b036bd8139e44e1a8034e371d9584a7' \
--header 'Content-Type: application/json' \
--data-raw '{
"id": 1
}'
返回响应
🟢200成功
application/json
Body
code
integer
必需
success
boolean
必需
msg
string
必需
sign
string
必需
result
object
必需
id
integer
必需
name
string
必需
point
integer
必需
seconds
integer
必需
addTime
integer
必需
status
integer
必需
fromSoftId
integer
必需
fromSoftName
null
必需
timestamp
integer
必需
示例
{
"code": 200,
"success": true,
"msg": "查询成功",
"sign": "",
"result": {
"id": 1,
"name": "解绑2",
"point": -10,
"seconds": -3600,
"addTime": 1645689498,
"status": 1,
"fromSoftId": 1,
"fromSoftName": null
},
"timestamp": 1645973098492
}
🔴500错误
修改于 2022-02-27 14:45:20