From 0f7869a3cd6428282f7cd58e180e7d94acc05e18 Mon Sep 17 00:00:00 2001 From: Leonel Garcia Date: Wed, 27 Feb 2019 16:57:30 -0500 Subject: [PATCH] [blockchain] refs #18 - Add specs for /api/transactions/broadcast/{operationId} --- lagcleaner_specs.yml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/lagcleaner_specs.yml b/lagcleaner_specs.yml index 4ee4d05..031e22b 100644 --- a/lagcleaner_specs.yml +++ b/lagcleaner_specs.yml @@ -73,3 +73,27 @@ 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. + + default: + $ref: '#/components/schemas/genericError' \ No newline at end of file