Subscribe System Notice
Reminder
- Before using this endpoint, please call the "server.sign" method for signature authorization.
- The push delay of this method is: real-time
Subscribe System Notice
- Method:
notice.subscribe
- Parameters:
Parameter Name | Required | Type | Notes |
---|---|---|---|
channels | true | []int | Channel list, currently only supports system maintenance subscription 101 |
- Example:
// Subscribe system maintenance
{
"method": "notice.subscribe",
"params": {"channels": [101]},
"id": 1
}
System Notice Push
- Method:
notice.update
- Parameters:
Parameter Name | Type | Notes |
---|---|---|
channel | int | Channel, currently only supports system maintenance 101 |
info | object | notification info |
- Example:
// System maintenance push
{
"method": "notice.update",
"data": {
"channel": 101,
"info": {
"start_time": 1640793607122,
"end_time": 1640793600122,
"scope": ["FUTURES", "SPOT"],
"protect_duration_start": 1640793600122,
"protect_duration_end": 1640794200321
}
},
"id": null
}
Unsubscribe System Notice
- Method:
notice.unsubscribe
- Parameters:
Parameter Name | Required | Type | Notes |
---|---|---|---|
channels | true | []int | Channel list, currently only supports system maintenance subscription 101, null means canceling all subscriptions |
- Example:
// Unsubscribe system maintenance
{
"method": "notice.unsubscribe",
"params": {"channels": [101]},
"id": 1
}
// Unsubscribe all system notice
{
"method": "notice.unsubscribe",
"params": {"channels": []},
"id": 1
}