通知
GET
/workplace/notice
请求参数
Header 参数
Authorization
string
可选
示例值:
Bearer {{pc_token}}
Accept-Language
string
可选
默认值:
en-US
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request GET 'http://k28hrq.natappfree.cc/arbitrage/workplace/notice' \
--header 'Authorization: Bearer {{pc_token}}' \
--header 'Authorization;' \
--header 'Accept-Language: en-US'
返回响应
🟢200成功
application/json
Body
data
array[object (消息信息) {6}]
必需
id
integer
消息ID
title
string
标题
noticeType
integer
消息类型
sendTime
string
发送时间
readState
integer
阅读状态
readTime
string | null
阅读时间
error
null
必需
示例
{
"data": [
{
"id": 13,
"title": "标题1",
"noticeType": 2,
"sendTime": "2024-01-12 16:24:23",
"readState": 1,
"readTime": null
},
{
"id": 11,
"title": "标题2",
"noticeType": 2,
"sendTime": "2024-01-12 16:24:20",
"readState": 1,
"readTime": null
},
{
"id": 9,
"title": "标题3",
"noticeType": 2,
"sendTime": "2024-01-12 16:24:16",
"readState": 1,
"readTime": null
},
{
"id": 7,
"title": "标题4",
"noticeType": 2,
"sendTime": "2024-01-12 16:23:36",
"readState": 1,
"readTime": null
},
{
"id": 5,
"title": "标题4",
"noticeType": 1,
"sendTime": "2024-01-12 16:23:25",
"readState": 1,
"readTime": null
}
],
"error": null
}
修改于 2024-11-10 12:14:12