From 010ab3b139251c4c18c6b896b368e65c666d81cd Mon Sep 17 00:00:00 2001 From: Maxence Maireaux Date: Wed, 8 Nov 2023 01:13:04 +0100 Subject: [PATCH] chore: Update OpenAPI config --- pkg/api/controllers/swagger.yaml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/pkg/api/controllers/swagger.yaml b/pkg/api/controllers/swagger.yaml index b2f36f171..2b1117b0c 100644 --- a/pkg/api/controllers/swagger.yaml +++ b/pkg/api/controllers/swagger.yaml @@ -8,6 +8,7 @@ paths: /_info: get: tags: + - Ledger - Server summary: Show server information operationId: getInfo @@ -58,6 +59,7 @@ paths: summary: Count the accounts from a ledger operationId: countAccounts tags: + - Ledger - Accounts parameters: - name: ledger @@ -103,6 +105,7 @@ paths: description: List accounts from a ledger, sorted by address in descending order. operationId: listAccounts tags: + - Ledger - Accounts parameters: - name: ledger @@ -226,6 +229,7 @@ paths: summary: Get account by its address operationId: getAccount tags: + - Ledger - Accounts parameters: - name: ledger @@ -265,6 +269,7 @@ paths: summary: Add metadata to an account operationId: addMetadataToAccount tags: + - Ledger - Accounts parameters: - name: ledger @@ -306,6 +311,7 @@ paths: /{ledger}/mapping: get: tags: + - Ledger - Mapping operationId: getMapping summary: Get the mapping of a ledger @@ -333,6 +339,7 @@ paths: put: tags: + - Ledger - Mapping operationId: updateMapping summary: Update the mapping of a ledger @@ -368,6 +375,7 @@ paths: post: deprecated: true tags: + - Ledger - Script operationId: runScript summary: Execute a Numscript @@ -411,6 +419,7 @@ paths: /{ledger}/stats: get: tags: + - Ledger - Stats operationId: readStats summary: Get statistics from a ledger @@ -441,6 +450,7 @@ paths: /{ledger}/transactions: head: tags: + - Ledger - Transactions summary: Count the transactions from a ledger operationId: countTransactions @@ -542,6 +552,7 @@ paths: get: tags: + - Ledger - Transactions summary: List transactions from a ledger description: List transactions from a ledger, sorted by txid in descending order. @@ -696,6 +707,7 @@ paths: post: tags: + - Ledger - Transactions summary: Create a new transaction to a ledger operationId: createTransaction @@ -740,6 +752,7 @@ paths: /{ledger}/transactions/{txid}: get: tags: + - Ledger - Transactions summary: Get transaction from a ledger by its ID operationId: getTransaction @@ -777,6 +790,7 @@ paths: /{ledger}/transactions/{txid}/metadata: post: tags: + - Ledger - Transactions summary: Set the metadata of a transaction by its ID operationId: addMetadataOnTransaction @@ -817,6 +831,7 @@ paths: /{ledger}/transactions/{txid}/revert: post: tags: + - Ledger - Transactions operationId: revertTransaction summary: Revert a ledger transaction by its ID @@ -860,6 +875,7 @@ paths: /{ledger}/transactions/batch: post: tags: + - Ledger - Transactions summary: Create a new batch of transactions to a ledger operationId: CreateTransactions @@ -894,6 +910,7 @@ paths: /{ledger}/balances: get: tags: + - Ledger - Balances summary: Get the balances from a ledger's account operationId: getBalances @@ -956,6 +973,7 @@ paths: /{ledger}/aggregate/balances: get: tags: + - Ledger - Balances summary: Get the aggregated balances from selected accounts operationId: getBalancesAggregated @@ -991,6 +1009,7 @@ paths: /{ledger}/logs: get: tags: + - Ledger - Logs summary: List the logs from a ledger description: List the logs from a ledger, sorted by ID in descending order.