Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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'