跳到主要內容

取得維護資訊

資訊

保護期是指在維護後持續的一段保護期(保護期是選用配置,也有可能不會配置保護期)。 保護期間支援撤單、下單(僅Maker Only限價單)、增加或減少保證金。

HTTP 請求

GET /maintain/info

請求參數

None


請求回應

參數名類型說明
started_atint維護開始時間,單位:毫秒
ended_atint維護結束時間,單位:毫秒
scope[]string維護範圍:
FUTURES:合約
SPOT:現貨
ALL_SITE:全域維護
announce_urlstring跳轉鏈接
announce_enabledbool是否有跳轉
protect_duration_startint保護期開始時間,單位:毫秒
protect_duration_endint保護期結束時間,單位:毫秒

請求範例

GET /maintain-info

回應範例

{
"data": [
{
"started_at": 1713852000000,
"ended_at": 1713852120000,
"protect_duration_start": 0,
"protect_duration_end": 0,
"announce_enabled": false,
"announce_url": "",
"scope": [
"ALL_SITE"
]
},
{
"started_at": 1713974400000,
"ended_at": 1714147200000,
"protect_duration_start": 1714147200000,
"protect_duration_end": 1714148100000,
"announce_enabled": true,
"announce_url": "https://www.coinex.com/zh-hans/announcements/detail/25997652101012",
"scope": [
"SPOT"
]
}
],
"code": 0,
"message": "OK"
}