From 694c39d3081f70bcd4101b748e80258256997cab Mon Sep 17 00:00:00 2001 From: Leonel Garcia Date: Wed, 27 Feb 2019 16:56:31 -0500 Subject: [PATCH] [blockchain] refs #17 - Add specs for /api/transactions/history/from/{address}/observation --- lagcleaner_specs.yml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/lagcleaner_specs.yml b/lagcleaner_specs.yml index 5301afe..4ee4d05 100644 --- a/lagcleaner_specs.yml +++ b/lagcleaner_specs.yml @@ -40,6 +40,30 @@ paths: 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: []