Implement register handlers (#2219)

This commit is contained in:
Javier Adriel
2022-08-09 13:22:53 -05:00
committed by GitHub
parent 4aa3f40792
commit 5be2cc1965
13 changed files with 878 additions and 17 deletions

View File

@@ -1472,6 +1472,23 @@ paths:
responses:
200:
description: A successful response.
schema:
$ref: "#/definitions/operatorSubnetRegisterAPIKeyResponse"
default:
description: Generic error response.
schema:
$ref: "#/definitions/error"
tags:
- OperatorAPI
/subnet/apikey/info:
get:
summary: Subnet API key info
operationId: OperatorSubnetAPIKeyInfo
responses:
200:
description: A successful response.
schema:
$ref: "#/definitions/operatorSubnetRegisterAPIKeyResponse"
default:
description: Generic error response.
schema:
@@ -3570,3 +3587,9 @@ definitions:
properties:
apiKey:
type: string
operatorSubnetRegisterAPIKeyResponse:
type: object
properties:
registered:
type: boolean