Skip to content

Commit

Permalink
[spec] refs fibercrypto#16 fibercrypto#17 fibercrypto#18 - Added spec…
Browse files Browse the repository at this point in the history
…s to 'espec.yml'
  • Loading branch information
Leonel Garcia committed Feb 27, 2019
1 parent 0f7869a commit aa084be
Show file tree
Hide file tree
Showing 2 changed files with 73 additions and 100 deletions.
74 changes: 73 additions & 1 deletion espec.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,76 @@ components:
format: int64
message:
type: string
paths:
paths:
# - 16
/api/transactions/history/to/{address}/observation:
post:
parameters:
- in: path
name: address
required: true
schema:
type: string
description: Address to which funds are transferred.

summary: Starts observation of the transactions.

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: []

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

default:
$ref: '#/components/schemas/genericError'
# - 18
/api/transactions/broadcast/{operationId}:
delete:
parameters:
- in: path
name: operationId
required: true
schema:
type: string
description: Specified transaction from the broadcasted transactions.

summary: Remove an specified transaction from the broadcasted transactions.

description: Should remove specified transaction from the broadcasted transactions, and affect transactions returned by the [GET] /api/transactions/broadcast/{operatioId}.

security:
- CsrfTokenAuth: []

responses:
'200':
description: Successfully removed from broadcasted transactions list.

default:
$ref: '#/components/schemas/genericError'
99 changes: 0 additions & 99 deletions lagcleaner_specs.yml

This file was deleted.

0 comments on commit aa084be

Please sign in to comment.