mirror of
https://github.com/aljazceru/cyphernode.git
synced 2026-02-18 02:34:21 +01:00
Added getbalances endpoint documentations
This commit is contained in:
@@ -958,6 +958,29 @@ paths:
|
||||
application/json:
|
||||
schema:
|
||||
$ref: '#/components/schemas/ApiResponseTemporarilyUnavailable'
|
||||
/getbalances:
|
||||
get:
|
||||
tags:
|
||||
- "spending wallet"
|
||||
- "core features"
|
||||
summary: "Get the spending wallet extended balances"
|
||||
description: "Returns the spending wallet extended balances, in BTC."
|
||||
operationId: "getSpendingWalletBalances"
|
||||
responses:
|
||||
'200':
|
||||
description: "successful operation"
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
$ref: '#/components/schemas/Balances'
|
||||
'403':
|
||||
$ref: '#/components/schemas/ApiResponseNotAllowed'
|
||||
'503':
|
||||
description: "Resource temporarily unavailable"
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
$ref: '#/components/schemas/ApiResponseTemporarilyUnavailable'
|
||||
/getbalancebyxpub/{xpub}:
|
||||
get:
|
||||
parameters:
|
||||
@@ -2026,6 +2049,13 @@ components:
|
||||
properties:
|
||||
balance:
|
||||
type: "number"
|
||||
Balances:
|
||||
type: "object"
|
||||
required:
|
||||
- "balances"
|
||||
properties:
|
||||
balances:
|
||||
type: "object"
|
||||
Block:
|
||||
type: "object"
|
||||
required:
|
||||
|
||||
Reference in New Issue
Block a user