From 9620b02473ab0764aa9591056d80c66b0331fa6f Mon Sep 17 00:00:00 2001 From: aitorjs Date: Sat, 6 Jul 2019 19:22:29 +0200 Subject: [PATCH] getmempoolinfo endpoint added to openapi doc. --- doc/openapi/v0/cyphernode-api.yaml | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/doc/openapi/v0/cyphernode-api.yaml b/doc/openapi/v0/cyphernode-api.yaml index c0b4eff..235591a 100644 --- a/doc/openapi/v0/cyphernode-api.yaml +++ b/doc/openapi/v0/cyphernode-api.yaml @@ -942,6 +942,31 @@ paths: application/json: schema: $ref: '#/components/schemas/ApiResponseTemporarilyUnavailable' + /getmempoolinfo: + get: + tags: + - "stats" + - "core features" + summary: "Show mempool info" + description: "Returns detailed mempool information." + operationId: "getmempoolinfo" + responses: + '200': + description: "successful operation" + content: + application/json: + schema: + $ref: '#/components/schemas/MempoolInfo' + '403': + $ref: '#/components/schemas/ApiResponseNotAllowed' + '404': + $ref: '#/components/schemas/ApiResponseNotFound' + '503': + description: "Resource temporarily unavailable" + content: + application/json: + schema: + $ref: '#/components/schemas/ApiResponseTemporarilyUnavailable' /ln_getinfo: get: tags: