Skip to content

Commit

Permalink
[spec] refs fibercrypto#10 - Add spec: DELETE /api/balances/{address}…
Browse files Browse the repository at this point in the history
…/observation
  • Loading branch information
adriantpaez committed Mar 4, 2019
1 parent 08efd45 commit 7dc89fe
Showing 1 changed file with 23 additions and 1 deletion.
24 changes: 23 additions & 1 deletion spec.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,4 +51,26 @@ paths:
description: Any non security sensitive data associated with wallet. This context will be passed to [POST] /api/transactions/*. Can be empty.
type: string
default:
$ref : '#/components/schemas/genericError'
$ref : '#/components/schemas/genericError'

/api/balances/{address}/observation:
delete:
summary: Delete observation
description: Should forget the wallet address and stop observing its balance.

security:
- CsrfTokenAuth: []

parameters:
- name: address
in: path
required: true
description: Address of the wallet
schema:
type: string

responses:
'200':
description: DELETE is OK
default:
$ref: '#/components/schemas/genericError'

0 comments on commit 7dc89fe

Please sign in to comment.