From e820d5ddf9a70251723918d3247da214eac4ab3b Mon Sep 17 00:00:00 2001 From: Michael Asiedu Date: Fri, 16 Aug 2024 14:06:00 +0000 Subject: [PATCH] chore: Update redirect for reports, voucher numbering --- .../version-1.5/rollups-apis/graphql/queries/vouchers.md | 6 +++--- docusaurus.config.js | 4 ++++ 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/cartesi-rollups_versioned_docs/version-1.5/rollups-apis/graphql/queries/vouchers.md b/cartesi-rollups_versioned_docs/version-1.5/rollups-apis/graphql/queries/vouchers.md index 99f14d2a..9e4e2560 100644 --- a/cartesi-rollups_versioned_docs/version-1.5/rollups-apis/graphql/queries/vouchers.md +++ b/cartesi-rollups_versioned_docs/version-1.5/rollups-apis/graphql/queries/vouchers.md @@ -7,7 +7,7 @@ hide_table_of_contents: false Vouchers represent transactions that can be carried out on the base layer blockchain, such as asset transfers. They are used to effect changes in the base layer based on the application's state. -## Get Voucher by Index +## 1. Get Voucher by Index Retrieve a specific voucher based on its index and associated input index. @@ -55,7 +55,7 @@ For vouchers, the API provides access to proof data that can be used for validat [`Voucher`](../../objects/voucher) -## Get Vouchers +## 2. Get Vouchers Retrieve a list of vouchers with support for pagination. @@ -97,7 +97,7 @@ query vouchers($first: Int, $after: String) { [`VoucherConnection`](../../objects/voucher-connection) -## Get Vouchers by Input +## 3. Get Vouchers by Input Retrieve vouchers associated with a specific input. diff --git a/docusaurus.config.js b/docusaurus.config.js index 0aa9e79c..19c1ea56 100644 --- a/docusaurus.config.js +++ b/docusaurus.config.js @@ -386,6 +386,10 @@ const config = { to: "/cartesi-rollups/1.5/rollups-apis/graphql/queries/vouchers/", from: "/cartesi-rollups/1.5/rollups-apis/graphql/queries/list-vouchers/", }, + { + to: "/cartesi-rollups/1.5/rollups-apis/graphql/queries/reports/", + from: "/cartesi-rollups/1.5/rollups-apis/graphql/queries/list_reports/", + }, { to: "/cartesi-rollups/1.5/development/cli-commands/", from: "/cartesi-rollups/1.5/development/node-configuration/",