跳到正文

获取交易所启用设置与状态​

GET
/v2/exchanges

Returns exchange records populated by oracle markets sync. Sync inserts missing records disabled and never changes existing records. Enabled controls historical and realtime inclusion; status is the last observed worker state. Enable selected exchanges explicitly with the CLI.

授权​

bearerAuth

Required when cp_auth.enabled=true. The token must have the oracle scope.

类型
HTTP (bearer)

响应​

Persisted exchange records.

application/json
JSON
[
  
{
  
  
"id": "string",
  
  
"last_error": "string",
  
  
"enabled": true,
  
  
"status": "string",
  
  
"last_message_at": "string",
  
  
"last_seen_at": "string",
  
  
"metadata": {
  
  
  
"additionalProperties": "string"
  
  
}
  
}
]

试验场​

授权

示例​