|
|
@ -537,8 +537,7 @@ paths: |
|
|
|
type: array |
|
|
|
items: |
|
|
|
type: string |
|
|
|
example: |
|
|
|
["f9baeaa15fedf5e1ef7448dd60f46c01f1a9e9c4@1.2.3.4:26656"] |
|
|
|
example: "f9baeaa15fedf5e1ef7448dd60f46c01f1a9e9c4@1.2.3.4:26656" |
|
|
|
responses: |
|
|
|
"200": |
|
|
|
description: Dialing seeds in progress. See /net_info for details |
|
|
@ -588,8 +587,7 @@ paths: |
|
|
|
type: array |
|
|
|
items: |
|
|
|
type: string |
|
|
|
example: |
|
|
|
["f9baeaa15fedf5e1ef7448dd60f46c01f1a9e9c4@1.2.3.4:26656"] |
|
|
|
example: "f9baeaa15fedf5e1ef7448dd60f46c01f1a9e9c4@1.2.3.4:26656" |
|
|
|
responses: |
|
|
|
"200": |
|
|
|
description: Dialing seeds in progress. See /net_info for details |
|
|
@ -724,7 +722,7 @@ paths: |
|
|
|
content: |
|
|
|
application/json: |
|
|
|
schema: |
|
|
|
$ref: "#/components/schemas/BlockResultsResponse" |
|
|
|
$ref: "#/components/schemas/BlockSearchResponse" |
|
|
|
"500": |
|
|
|
description: Error |
|
|
|
content: |
|
|
@ -1069,7 +1067,7 @@ paths: |
|
|
|
content: |
|
|
|
application/json: |
|
|
|
schema: |
|
|
|
$ref: "#/components/schemas/BlockSearchResponse" |
|
|
|
$ref: "#/components/schemas/BlockResultsResponse" |
|
|
|
"500": |
|
|
|
description: Error |
|
|
|
content: |
|
|
@ -2747,6 +2745,33 @@ components: |
|
|
|
type: string |
|
|
|
example: "Dialing seeds in progress. See /net_info for details" |
|
|
|
|
|
|
|
BlockSearchResponse: |
|
|
|
type: object |
|
|
|
required: |
|
|
|
- "jsonrpc" |
|
|
|
- "id" |
|
|
|
- "result" |
|
|
|
properties: |
|
|
|
jsonrpc: |
|
|
|
type: string |
|
|
|
example: "2.0" |
|
|
|
id: |
|
|
|
type: integer |
|
|
|
example: 0 |
|
|
|
result: |
|
|
|
required: |
|
|
|
- "blocks" |
|
|
|
- "total_count" |
|
|
|
properties: |
|
|
|
blocks: |
|
|
|
type: array |
|
|
|
items: |
|
|
|
$ref: "#/components/schemas/BlockComplete" |
|
|
|
total_count: |
|
|
|
type: integer |
|
|
|
example: 2 |
|
|
|
type: object |
|
|
|
|
|
|
|
###### Reuseable types ###### |
|
|
|
|
|
|
|
# Validator type with proposer prioirty |
|
|
|