getmempoolinfo endpoint added to openapi doc.

This commit is contained in:
aitorjs
2019-07-06 19:22:29 +02:00
committed by kexkey
parent 641d8462e9
commit 9620b02473

View File

@@ -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: