mirror of
https://github.com/openziti/zrok.git
synced 2025-08-15 10:32:33 +02:00
/detail/service backend (#107)
This commit is contained in:
@ -112,6 +112,44 @@ func init() {
|
||||
}
|
||||
}
|
||||
},
|
||||
"/detail/service/{svcToken}": {
|
||||
"get": {
|
||||
"security": [
|
||||
{
|
||||
"key": []
|
||||
}
|
||||
],
|
||||
"tags": [
|
||||
"metadata"
|
||||
],
|
||||
"operationId": "getServiceDetail",
|
||||
"parameters": [
|
||||
{
|
||||
"type": "string",
|
||||
"name": "svcToken",
|
||||
"in": "path",
|
||||
"required": true
|
||||
}
|
||||
],
|
||||
"responses": {
|
||||
"200": {
|
||||
"description": "ok",
|
||||
"schema": {
|
||||
"$ref": "#/definitions/service"
|
||||
}
|
||||
},
|
||||
"401": {
|
||||
"description": "unauthorized"
|
||||
},
|
||||
"404": {
|
||||
"description": "not found"
|
||||
},
|
||||
"500": {
|
||||
"description": "internal server error"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"/disable": {
|
||||
"post": {
|
||||
"security": [
|
||||
@ -1242,6 +1280,44 @@ func init() {
|
||||
}
|
||||
}
|
||||
},
|
||||
"/detail/service/{svcToken}": {
|
||||
"get": {
|
||||
"security": [
|
||||
{
|
||||
"key": []
|
||||
}
|
||||
],
|
||||
"tags": [
|
||||
"metadata"
|
||||
],
|
||||
"operationId": "getServiceDetail",
|
||||
"parameters": [
|
||||
{
|
||||
"type": "string",
|
||||
"name": "svcToken",
|
||||
"in": "path",
|
||||
"required": true
|
||||
}
|
||||
],
|
||||
"responses": {
|
||||
"200": {
|
||||
"description": "ok",
|
||||
"schema": {
|
||||
"$ref": "#/definitions/service"
|
||||
}
|
||||
},
|
||||
"401": {
|
||||
"description": "unauthorized"
|
||||
},
|
||||
"404": {
|
||||
"description": "not found"
|
||||
},
|
||||
"500": {
|
||||
"description": "internal server error"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"/disable": {
|
||||
"post": {
|
||||
"security": [
|
||||
|
Reference in New Issue
Block a user