Add endpoint to get api key from subnet (#2175)

This commit is contained in:
Javier Adriel
2022-07-18 17:51:07 -05:00
committed by GitHub
parent aea749d82f
commit 78d4d4c89e
12 changed files with 749 additions and 0 deletions

View File

@@ -3707,6 +3707,37 @@ func init() {
}
}
},
"/subnet/apikey": {
"get": {
"tags": [
"Subnet"
],
"summary": "Subnet api key",
"operationId": "SubnetApiKey",
"parameters": [
{
"type": "string",
"name": "token",
"in": "query",
"required": true
}
],
"responses": {
"200": {
"description": "A successful response.",
"schema": {
"$ref": "#/definitions/apiKey"
}
},
"default": {
"description": "Generic error response.",
"schema": {
"$ref": "#/definitions/error"
}
}
}
}
},
"/subnet/info": {
"get": {
"tags": [
@@ -4562,6 +4593,14 @@ func init() {
}
}
},
"apiKey": {
"type": "object",
"properties": {
"apiKey": {
"type": "string"
}
}
},
"arnsResponse": {
"type": "object",
"properties": {
@@ -10802,6 +10841,37 @@ func init() {
}
}
},
"/subnet/apikey": {
"get": {
"tags": [
"Subnet"
],
"summary": "Subnet api key",
"operationId": "SubnetApiKey",
"parameters": [
{
"type": "string",
"name": "token",
"in": "query",
"required": true
}
],
"responses": {
"200": {
"description": "A successful response.",
"schema": {
"$ref": "#/definitions/apiKey"
}
},
"default": {
"description": "Generic error response.",
"schema": {
"$ref": "#/definitions/error"
}
}
}
}
},
"/subnet/info": {
"get": {
"tags": [
@@ -11783,6 +11853,14 @@ func init() {
}
}
},
"apiKey": {
"type": "object",
"properties": {
"apiKey": {
"type": "string"
}
}
},
"arnsResponse": {
"type": "object",
"properties": {