From df7d9216d7aa65be805067b1dca3efea59322764 Mon Sep 17 00:00:00 2001 From: Leonel Garcia Date: Tue, 26 Feb 2019 13:14:52 -0500 Subject: [PATCH] [api] refs #18 - Add specs for /api/transactions/broadcast/{operationId} --- lagcleaner_specs.yml | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) diff --git a/lagcleaner_specs.yml b/lagcleaner_specs.yml index 3200e00..445981c 100644 --- a/lagcleaner_specs.yml +++ b/lagcleaner_specs.yml @@ -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' \ No newline at end of file