update swagger.yaml

This commit is contained in:
Federico Kunze 2018-11-12 22:53:43 +01:00
parent 4d1246dae9
commit 182f111ddc
1 changed files with 24 additions and 0 deletions

View File

@ -950,6 +950,30 @@ paths:
description: Invalid validator address description: Invalid validator address
500: 500:
description: Internal Server Error description: Internal Server Error
/stake/validators/{validatorAddr}/delegations:
parameters:
- in: path
name: validatorAddr
description: Bech32 OperatorAddress of validator
required: true
type: string
get:
summary: Get all delegations from a validator
tags:
- ICS21
produces:
- application/json
responses:
200:
description: OK
schema:
type: array
items:
$ref: "#/definitions/Delegation"
400:
description: Invalid validator address
500:
description: Internal Server Error
/stake/validators/{validatorAddr}/unbonding_delegations: /stake/validators/{validatorAddr}/unbonding_delegations:
parameters: parameters:
- in: path - in: path