Skip to content

Commit

Permalink
[blockchain] refs fibercrypto#17 - Add specs for /api/transactions/hi…
Browse files Browse the repository at this point in the history
…story/from/{address}/observation
  • Loading branch information
Leonel Garcia committed Feb 27, 2019
1 parent 1fb6c11 commit 694c39d
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions lagcleaner_specs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,30 @@ paths:

description: Should starts observation of the transactions that transfer fund to the address, and affect the result of the [GET] /api/transactions/history/to/{address}.

security:
- CsrfTokenAuth: []

responses:
'200':
description: Successfully stored in observation list.

default:
$ref: '#/components/schemas/genericError'
# - 17
/api/transactions/history/from/{address}/observation:
post:
parameters:
- in: path
name: address
required: true
schema:
type: string
description: Address from which funds are transferred.

summary: Starts observation of the transactions.

description: Should starts observation of the transactions that transfer fund from the address, and affect the result of the [GET] /api/transactions/history/from/{address}.

security:
- CsrfTokenAuth: []

Expand Down

0 comments on commit 694c39d

Please sign in to comment.