JSON 模式请求

API 对象 JSON 模式请求

方法 路径 描述
GET /v1/jsonschema 获取API对象的JSON模式

获取对象JSON模式

GET /v1/jsonschema

获取各种Redis Enterprise REST API对象的JSON模式。

请求

示例HTTP请求

GET /jsonschema?object=bdb 

请求头

描述
主机 cnm.cluster.fqdn 域名
Accept application/json 接受的媒体类型

查询参数

字段 类型 描述
object string 可选。API对象名称:'cluster', 'node', 'bdb' 等。

响应

返回指定API对象的JSON模式。

示例 JSON 主体

{
     "type": "object",
     "description": "An API object that represents a managed database in the cluster.",
     "properties": {
          "...."
     },
     "...."
}

状态码

代码 描述
200 OK 成功。
406 Not Acceptable 无效的对象。
RATE THIS PAGE
Back to top ↑