diff --git a/LazaroRaul_specs.yml b/LazaroRaul_specs.yml index 70ddb43..c0e42e4 100644 --- a/LazaroRaul_specs.yml +++ b/LazaroRaul_specs.yml @@ -48,7 +48,7 @@ paths: signedTransaction: type: string description: The signed transaction returned by the [POST] /api/sign. - + responses: '200': # status code description: Error code. @@ -66,6 +66,34 @@ paths: default: $ref : '#/components/schemas/genericError' + /api/addresses/{address}/explorer-url: + get: + summary: Return one or many blockchain explorer URLs. + description: Should return one or many blockchain explorer URLs for the given address. + security: + - CsrfTokenAuth: [] + + parameters: + - name: address + in: path + description: Address for find blockchain explorer URLs + required: true + schema: + type: string + + responses: + '200': + description: Blockchain explorer URL for the given address + content: + application/json: + schema: + type: array + items: + type: string + default: + $ref : '#/components/schemas/genericError' + + # To remember : # Every post method should use security schema. # Feel free to use and reuse components