-
Notifications
You must be signed in to change notification settings - Fork 16
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
22 changed files
with
782 additions
and
79 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
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 votes | ||
description: History of Drep votes. | ||
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 votes | ||
content: | ||
application/json: | ||
schema: | ||
$ref: ../../../../../schemas/governance/drep_votes.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
This file was deleted.
Oops, something went wrong.
37 changes: 37 additions & 0 deletions
37
src/paths/api/governance/proposals/{tx_hash}/{tx_index}/index.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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
get: | ||
tags: | ||
- Cardano » Governance | ||
summary: Specific proposal | ||
description: Proposal information. | ||
parameters: | ||
- in: path | ||
name: tx_hash | ||
required: true | ||
schema: | ||
type: string | ||
description: Transaction hash. | ||
example: "drep15cfxz9exyn5rx0807zvxfrvslrjqfchrd4d47kv9e0f46uedqtc" | ||
- in: path | ||
name: tx_index | ||
required: true | ||
schema: | ||
type: integer | ||
description: Transaction index. | ||
example: 1 | ||
responses: | ||
"200": | ||
description: Return the proposal information content | ||
content: | ||
application/json: | ||
schema: | ||
$ref: ../../../../../../schemas/governance/proposal_details_content.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 |
Oops, something went wrong.