Skip to content

Commit

Permalink
docs: clarify handling of optional auth token in session endpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
theborakompanioni committed Apr 20, 2022
1 parent c7a2612 commit 7e4d2b1
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion docs/api/wallet-rpc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 7e4d2b1

Please sign in to comment.