Chuyển đến nội dung chính
GET
https://api-gw.verolabs.co/api/v1
/
notifications
Lấy danh sách thông báo của người dùng hiện tại
curl --request GET \
  --url https://api-gw.verolabs.co/api/v1/notifications \
  --header 'Authorization: Bearer <token>'
{
  "notifications": [
    {
      "id": 123,
      "userId": "<string>",
      "accountId": "<string>",
      "topic": "<string>",
      "messageID": "<string>",
      "data": {
        "accountId": "<string>",
        "symbol": "<string>",
        "amount": 123,
        "position": {},
        "account": {}
      },
      "read": true,
      "createdAt": 123,
      "updatedAt": 123
    }
  ],
  "limit": 123,
  "offset": 123
}

Documentation Index

Fetch the complete documentation index at: https://docs.oms.verolabs.co/llms.txt

Use this file to discover all available pages before exploring further.

Ủy quyền

Authorization
string
header
bắt buộc

JWT returned by Ory /sessions/whoami?tokenize_as=jwt_template_1 and stored by ApiClient.

Tham số truy vấn

limit
integer
mặc định:50
Phạm vi bắt buộc: x >= 1
offset
integer
mặc định:0
Phạm vi bắt buộc: x >= 0

Phản hồi

Notifications page.

notifications
object[]
bắt buộc
limit
integer
bắt buộc
offset
integer
bắt buộc