同步器状态请求

同步器状态请求

Redis 企业软件
方法 路径 描述
获取 /v1/bdbs/{uid}/syncer_state 获取 CRDB 的同步器状态

获取同步器状态

GET /v1/bdbs/{int: uid}/syncer_state

Get a CRDB's syncer state as JSON.

Warning:
This endpoint is deprecated as of Redis Enterprise Software version 7.2.4 and will be removed in a future release. Use /v1/bdbs/<uid>/syncer_state/crdt instead.

Permissions

Permission name Roles
view_bdb_info admin
cluster_member
cluster_viewer
db_member
db_viewer
user_manager

Request

Example HTTP request

GET /v1/bdbs/1/syncer_state

Headers

Key Value
Host The domain name or IP of the cluster.
Accept application/json

URL parameters

Field Type Description
uid integer The unique ID of the database requested.

Response

Returns a JSON object that represents the syncer state.

Example JSON body

{
    "DB": 22,
    "RunID": 1584086516,
    // additional fields...
}

Status codes

Code Description
200 OK OK
404 Not Found Syncer state key does not exist
500 Internal Server Error Internal error
503 Service Unavailable Redis connection error, service unavailable
RATE THIS PAGE
Back to top ↑