Skip to content

Commit

Permalink
Merge pull request #15 from yoxira/chore/delegates-get-address
Browse files Browse the repository at this point in the history
chore: add `address` param to the `/delegates/get` endpoint
  • Loading branch information
bludnic authored Nov 11, 2024
2 parents a6dc329 + 8ee5f32 commit 48e8038
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions specification/delegates/GetDelegate/GetDelegateParams.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,9 @@
schema:
type: string
example: ef5e78a3d02e6d82f4ac0c5b8923c1b86185bd17c27c9ac027c20ec62db79a84
- name: address
in: query
required: false
schema:
type: string
example: U11651572364276578835
2 changes: 1 addition & 1 deletion specification/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -366,7 +366,7 @@ paths:
tags:
- Delegates and Voting
operationId: getDelegateInfo
description: Get delegate info by `username` or `publicKey`
description: Get delegate info by `username`, `publicKey`, or `address`
parameters:
$ref: "delegates/GetDelegate/GetDelegateParams.yaml"
responses:
Expand Down

0 comments on commit 48e8038

Please sign in to comment.