From 2cfadd47a69f6a4e7cf40ae475f4fb66dc6ccdc0 Mon Sep 17 00:00:00 2001 From: g-homebase Date: Tue, 3 Sep 2019 17:41:04 -0400 Subject: [PATCH] open api doc --- doc/openapi/v0/cyphernode-api.yaml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/doc/openapi/v0/cyphernode-api.yaml b/doc/openapi/v0/cyphernode-api.yaml index b1c2415..c71a4fb 100644 --- a/doc/openapi/v0/cyphernode-api.yaml +++ b/doc/openapi/v0/cyphernode-api.yaml @@ -436,8 +436,15 @@ paths: schema: $ref: '#/components/schemas/ApiResponseTemporarilyUnavailable' - /getblockhash: + /getblockhash/{height}: get: + parameters: + - in: "path" + name: "height" + description: "Blockhash" + required: true + schema: + type: "integer" tags: - "block" - "core features"