Add endpoint to get api key from subnet (#2175)
This commit is contained in:
@@ -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": {
|
||||
|
||||
Reference in New Issue
Block a user