-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
9 changed files
with
312 additions
and
37 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,58 @@ | ||
get: | ||
tags: | ||
- Cardano » Governance | ||
summary: DRep pool delegators | ||
description: List of Drep delegators. | ||
parameters: | ||
- in: path | ||
name: drep_id | ||
required: true | ||
schema: | ||
type: string | ||
description: Bech32 or hexadecimal drep ID. | ||
example: "drep1mvdu8slennngja7w4un6knwezufra70887zuxpprd64jxfveahn" | ||
- in: query | ||
name: count | ||
required: false | ||
schema: | ||
type: integer | ||
minimum: 1 | ||
maximum: 100 | ||
default: 100 | ||
description: The number of results displayed on one page. | ||
- in: query | ||
name: page | ||
required: false | ||
schema: | ||
type: integer | ||
minimum: 1 | ||
maximum: 21474836 | ||
default: 1 | ||
description: The page number for listing the results. | ||
- in: query | ||
name: order | ||
required: false | ||
schema: | ||
type: string | ||
enum: [asc, desc] | ||
default: asc | ||
description: | | ||
The ordering of items from the point of view of the blockchain, | ||
not the page listing itself. By default, we return oldest first, newest last. | ||
responses: | ||
"200": | ||
description: Return the DRep delegations | ||
content: | ||
application/json: | ||
schema: | ||
$ref: ../../../../../schemas/governance/drep_delegators.yaml | ||
"400": | ||
$ref: ../../../../../responses/errors/400.yaml | ||
"403": | ||
$ref: ../../../../../responses/errors/403.yaml | ||
"429": | ||
$ref: ../../../../../responses/errors/429.yaml | ||
"418": | ||
$ref: ../../../../../responses/errors/418.yaml | ||
"500": | ||
$ref: ../../../../../responses/errors/500.yaml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
16 changes: 12 additions & 4 deletions
16
...governance/dreps/{hash}/distribution.yaml → ...api/governance/dreps/{hash}/metadata.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.