Skip to content

Commit

Permalink
[api] refs fibercrypto#18 - Add specs for /api/transactions/broadcast…
Browse files Browse the repository at this point in the history
…/{operationId}
  • Loading branch information
Leonel Garcia committed Feb 26, 2019
1 parent 5fa2b0c commit df7d921
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions lagcleaner_specs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -91,3 +91,36 @@ paths:

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.

'204':
description: Specifieed transaction not found.
content:
application/json:
schema:
type: array
items:
type: string

default:
$ref: '#/components/schemas/genericError'

0 comments on commit df7d921

Please sign in to comment.