Browse Source

docs: clarify handling of optional auth token in session endpoint

master
theborakompanioni 4 years ago
parent
commit
7e4d2b1002
No known key found for this signature in database
GPG Key ID: E8070AF0053AAC0D
  1. 7
      docs/api/wallet-rpc.yaml

7
docs/api/wallet-rpc.yaml

@ -105,12 +105,17 @@ paths:
$ref: '#/components/responses/404-NotFound'
/session:
get:
security:
- {}
- bearerAuth: []
summary: get current status of backend
operationId: session
description: get whether a wallet is loaded and whether coinjoin/maker are happening.
description: get whether a wallet is loaded and whether coinjoin/maker are happening. if an auth token is provided, which is optional, it will be validated.
responses:
'200':
$ref: "#/components/responses/Session-200-OK"
'401':
$ref: '#/components/responses/401-Unauthorized'
'404':
$ref: '#/components/responses/404-NotFound'
/wallet/all:

Loading…
Cancel
Save