Skip to content

Commit

Permalink
Bump Koios Release
Browse files Browse the repository at this point in the history
  • Loading branch information
rdlrt committed Aug 30, 2024
1 parent ca5ad90 commit 61b9d20
Show file tree
Hide file tree
Showing 8 changed files with 30 additions and 24 deletions.
2 changes: 1 addition & 1 deletion files/grest/rpc/account/account_info_cached.sql
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ BEGIN
) AS registered,
(
SELECT sr.deposit FROM stake_registration AS sr
WHERE sr.addr_id = sa.id
WHERE sr.addr_id = sas.id
AND NOT EXISTS (
SELECT TRUE
FROM stake_deregistration AS sd
Expand Down
6 changes: 3 additions & 3 deletions specs/results/koiosapi-guild.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ info:
license:
name: Creative Commons Attribution 4.0 International
url: https://github.com/cardano-community/koios-artifacts/blob/main/LICENSE
version: v1.2.0b
version: v1.2.0
description: |
Koios is best described as a Decentralized and Elastic RESTful query layer for exploring data on Cardano blockchain to consume within applications/wallets/explorers/etc. This page not only provides an OpenAPI Spec for live implementation, but also ability to execute live demo from client browser against each endpoint with pre-filled examples.
Expand Down Expand Up @@ -4739,7 +4739,7 @@ components:
voter_role:
$ref: "#/components/schemas/proposal_votes/items/properties/voter_role"
voter:
$ref: "#/components/schemas/proposal_votes/items/properties/voter"
$ref: "#/components/schemas/proposal_votes/items/properties/voter_id"
voter_hex:
$ref: "#/components/schemas/proposal_votes/items/properties/voter_hex"
vote:
Expand Down Expand Up @@ -5383,7 +5383,7 @@ components:
description: Proposal Action Type
example: ParameterChange
proposal_description:
type: string
type: object
description: Description for Proposal Action
example: '{"tag": "InfoAction"}'
deposit:
Expand Down
6 changes: 3 additions & 3 deletions specs/results/koiosapi-mainnet.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ info:
license:
name: Creative Commons Attribution 4.0 International
url: https://github.com/cardano-community/koios-artifacts/blob/main/LICENSE
version: v1.2.0b
version: v1.2.0
description: |
Koios is best described as a Decentralized and Elastic RESTful query layer for exploring data on Cardano blockchain to consume within applications/wallets/explorers/etc. This page not only provides an OpenAPI Spec for live implementation, but also ability to execute live demo from client browser against each endpoint with pre-filled examples.
Expand Down Expand Up @@ -4739,7 +4739,7 @@ components:
voter_role:
$ref: "#/components/schemas/proposal_votes/items/properties/voter_role"
voter:
$ref: "#/components/schemas/proposal_votes/items/properties/voter"
$ref: "#/components/schemas/proposal_votes/items/properties/voter_id"
voter_hex:
$ref: "#/components/schemas/proposal_votes/items/properties/voter_hex"
vote:
Expand Down Expand Up @@ -5383,7 +5383,7 @@ components:
description: Proposal Action Type
example: ParameterChange
proposal_description:
type: string
type: object
description: Description for Proposal Action
example: '{"tag": "InfoAction"}'
deposit:
Expand Down
6 changes: 3 additions & 3 deletions specs/results/koiosapi-preprod.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ info:
license:
name: Creative Commons Attribution 4.0 International
url: https://github.com/cardano-community/koios-artifacts/blob/main/LICENSE
version: v1.2.0b
version: v1.2.0
description: |
Koios is best described as a Decentralized and Elastic RESTful query layer for exploring data on Cardano blockchain to consume within applications/wallets/explorers/etc. This page not only provides an OpenAPI Spec for live implementation, but also ability to execute live demo from client browser against each endpoint with pre-filled examples.
Expand Down Expand Up @@ -4739,7 +4739,7 @@ components:
voter_role:
$ref: "#/components/schemas/proposal_votes/items/properties/voter_role"
voter:
$ref: "#/components/schemas/proposal_votes/items/properties/voter"
$ref: "#/components/schemas/proposal_votes/items/properties/voter_id"
voter_hex:
$ref: "#/components/schemas/proposal_votes/items/properties/voter_hex"
vote:
Expand Down Expand Up @@ -5383,7 +5383,7 @@ components:
description: Proposal Action Type
example: ParameterChange
proposal_description:
type: string
type: object
description: Description for Proposal Action
example: '{"tag": "InfoAction"}'
deposit:
Expand Down
16 changes: 8 additions & 8 deletions specs/results/koiosapi-preview.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ info:
license:
name: Creative Commons Attribution 4.0 International
url: https://github.com/cardano-community/koios-artifacts/blob/main/LICENSE
version: v1.2.0b
version: v1.2.0
description: |
Koios is best described as a Decentralized and Elastic RESTful query layer for exploring data on Cardano blockchain to consume within applications/wallets/explorers/etc. This page not only provides an OpenAPI Spec for live implementation, but also ability to execute live demo from client browser against each endpoint with pre-filled examples.
Expand Down Expand Up @@ -2047,7 +2047,7 @@ components:
description: Epoch Number to fetch details for
schema:
type: string
example: "12"
example: "675"
in: query
required: false
allowEmptyValue: true
Expand Down Expand Up @@ -2117,7 +2117,7 @@ components:
description: Voter ID (Drep, SPO, Committee Member) in Bech32 format (CIP-5 | CIP-129)
schema:
type: string
example: "drep13a87lnegq9a90dq4z7n864h0fsxuqsvp5ywn29ud65l5cwxlhts"
example: "drep17rksqsgqx8ej3rtc3x4gjm8a44u6w3qcshfm46yc9tq4zeffuzj"
in: query
required: true
allowEmptyValue: false
Expand All @@ -2127,7 +2127,7 @@ components:
description: DRep ID in bech32 format
schema:
type: string
example: "drep13a87lnegq9a90dq4z7n864h0fsxuqsvp5ywn29ud65l5cwxlhts"
example: "drep17rksqsgqx8ej3rtc3x4gjm8a44u6w3qcshfm46yc9tq4zeffuzj"
in: query
required: true
allowEmptyValue: false
Expand All @@ -2137,7 +2137,7 @@ components:
description: DRep ID in bech32 format
schema:
type: string
example: "drep13a87lnegq9a90dq4z7n864h0fsxuqsvp5ywn29ud65l5cwxlhts"
example: "drep17rksqsgqx8ej3rtc3x4gjm8a44u6w3qcshfm46yc9tq4zeffuzj"
in: query
required: false
allowEmptyValue: true
Expand Down Expand Up @@ -2736,7 +2736,7 @@ components:
type: string
example:
_drep_ids:
- drep13a87lnegq9a90dq4z7n864h0fsxuqsvp5ywn29ud65l5cwxlhts
- drep1yt76he02dprm2af6x26vg76mhs2vajlg43cr9jh9dq3f2qs68ts3s
- drep1g5vl99xcpv8uce5hhh50xe3fh68tl9f8hcprleekw0c6jhhr45f
utxo_refs_with_extended:
content:
Expand Down Expand Up @@ -4739,7 +4739,7 @@ components:
voter_role:
$ref: "#/components/schemas/proposal_votes/items/properties/voter_role"
voter:
$ref: "#/components/schemas/proposal_votes/items/properties/voter"
$ref: "#/components/schemas/proposal_votes/items/properties/voter_id"
voter_hex:
$ref: "#/components/schemas/proposal_votes/items/properties/voter_hex"
vote:
Expand Down Expand Up @@ -5383,7 +5383,7 @@ components:
description: Proposal Action Type
example: ParameterChange
proposal_description:
type: string
type: object
description: Description for Proposal Action
example: '{"tag": "InfoAction"}'
deposit:
Expand Down
2 changes: 1 addition & 1 deletion specs/templates/1-api-info.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ info:
license:
name: Creative Commons Attribution 4.0 International
url: https://github.com/cardano-community/koios-artifacts/blob/main/LICENSE
version: v1.2.0b
version: v1.2.0
description: |
Koios is best described as a Decentralized and Elastic RESTful query layer for exploring data on Cardano blockchain to consume within applications/wallets/explorers/etc. This page not only provides an OpenAPI Spec for live implementation, but also ability to execute live demo from client browser against each endpoint with pre-filled examples.
Expand Down
4 changes: 2 additions & 2 deletions specs/templates/4-api-schemas.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1904,7 +1904,7 @@ schemas:
voter_role:
$ref: "#/components/schemas/proposal_votes/items/properties/voter_role"
voter:
$ref: "#/components/schemas/proposal_votes/items/properties/voter"
$ref: "#/components/schemas/proposal_votes/items/properties/voter_id"
voter_hex:
$ref: "#/components/schemas/proposal_votes/items/properties/voter_hex"
vote:
Expand Down Expand Up @@ -2548,7 +2548,7 @@ schemas:
description: Proposal Action Type
example: ParameterChange
proposal_description:
type: string
type: object
description: Description for Proposal Action
example: '{"tag": "InfoAction"}'
deposit:
Expand Down
12 changes: 9 additions & 3 deletions specs/templates/example-map.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"_epoch_no": {
"m": "320",
"g": "6219",
"pv": "12",
"pv": "675",
"pp": "31"
},
"_earned_epoch_no": {
Expand Down Expand Up @@ -75,7 +75,7 @@
"_drep_id": {
"m": "drep17l6sywnwqu9aedd6aumev42w39ln5zfl9nw7j4ak6u8swyrwvz3",
"g": "drep1s9qaseg7qyum807fcv0hdky9gv0c89tn98t4urjn5ewz57dml0r",
"pv": "drep13a87lnegq9a90dq4z7n864h0fsxuqsvp5ywn29ud65l5cwxlhts",
"pv": "drep17rksqsgqx8ej3rtc3x4gjm8a44u6w3qcshfm46yc9tq4zeffuzj",
"pp": "drep1kxtwaqtayj6vklc57u93xayjvkwgvefh8drscqp5a5y6jz7m6rd"
},
"_cc_hot_id": {
Expand All @@ -90,6 +90,12 @@
"pv": "gov_action17m93skslaxyd45gpr6ernkdzs852h564wsterr8l6lheu7hu7kvsqecyqdh",
"pp": "gov_action1qqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqpzklpgpf"
},
"_voter_id": {
"m": "['pool1w83ux7vrwafrsuz044knxl9xxtr38q5jj2l3p28fl3g26faqqwg', 'drep1yt76he02dprm2af6x26vg76mhs2vajlg43cr9jh9dq3f2qs68ts3s']",
"g": "['pool1w83ux7vrwafrsuz044knxl9xxtr38q5jj2l3p28fl3g26faqqwg', 'drep1yt76he02dprm2af6x26vg76mhs2vajlg43cr9jh9dq3f2qs68ts3s']",
"pv": "['pool1w83ux7vrwafrsuz044knxl9xxtr38q5jj2l3p28fl3g26faqqwg', 'drep1yt76he02dprm2af6x26vg76mhs2vajlg43cr9jh9dq3f2qs68ts3s']",
"pp": "['pool1w83ux7vrwafrsuz044knxl9xxtr38q5jj2l3p28fl3g26faqqwg', 'drep1yt76he02dprm2af6x26vg76mhs2vajlg43cr9jh9dq3f2qs68ts3s']"
},
"_pool_bech32": {
"m": "pool155efqn9xpcf73pphkk88cmlkdwx4ulkg606tne970qswczg3asc",
"g": "pool1xc9eywck4e20tydz4yvh5vfe0ep8whawvwz8wqkc9k046a2ypp4",
Expand Down Expand Up @@ -197,7 +203,7 @@
"drep_ids1": {
"m": "drep17l6sywnwqu9aedd6aumev42w39ln5zfl9nw7j4ak6u8swyrwvz3",
"g": "drep1s9qaseg7qyum807fcv0hdky9gv0c89tn98t4urjn5ewz57dml0r",
"pv": "drep13a87lnegq9a90dq4z7n864h0fsxuqsvp5ywn29ud65l5cwxlhts",
"pv": "drep1yt76he02dprm2af6x26vg76mhs2vajlg43cr9jh9dq3f2qs68ts3s",
"pp": "drep1kxtwaqtayj6vklc57u93xayjvkwgvefh8drscqp5a5y6jz7m6rd"
},
"drep_ids2": {
Expand Down

0 comments on commit 61b9d20

Please sign in to comment.