{ "swagger": "2.0", "info": { "title": "bdware/bdledger/api/node.proto", "version": "version not set" }, "tags": [ { "name": "Node" } ], "consumes": [ "application/json" ], "produces": [ "application/json" ], "paths": { "/v0/node/version": { "get": { "summary": "*\nGet BDLedger node version\n查询BDLedger节点版本", "operationId": "Node_ClientVersion", "responses": { "200": { "description": "A successful response.", "schema": { "$ref": "#/definitions/apiClientVersionResponse" } }, "default": { "description": "An unexpected error response.", "schema": { "$ref": "#/definitions/rpcStatus" } } }, "tags": [ "Node" ] } } }, "definitions": { "apiClientVersionResponse": { "type": "object", "properties": { "version": { "type": "string", "title": "Client version\n节点客户端版本" } } }, "protobufAny": { "type": "object", "properties": { "@type": { "type": "string" } }, "additionalProperties": {} }, "rpcStatus": { "type": "object", "properties": { "code": { "type": "integer", "format": "int32" }, "message": { "type": "string" }, "details": { "type": "array", "items": { "type": "object", "$ref": "#/definitions/protobufAny" } } } } } }