mirror of
https://github.com/openziti/zrok.git
synced 2025-08-16 02:47:56 +02:00
update frontend backend (#129)
This commit is contained in:
@ -217,6 +217,40 @@ func init() {
|
||||
"description": "internal server error"
|
||||
}
|
||||
}
|
||||
},
|
||||
"patch": {
|
||||
"security": [
|
||||
{
|
||||
"key": []
|
||||
}
|
||||
],
|
||||
"tags": [
|
||||
"admin"
|
||||
],
|
||||
"operationId": "updateFrontend",
|
||||
"parameters": [
|
||||
{
|
||||
"name": "body",
|
||||
"in": "body",
|
||||
"schema": {
|
||||
"$ref": "#/definitions/updateFrontendRequest"
|
||||
}
|
||||
}
|
||||
],
|
||||
"responses": {
|
||||
"200": {
|
||||
"description": "frontend updated"
|
||||
},
|
||||
"401": {
|
||||
"description": "unauthorized"
|
||||
},
|
||||
"404": {
|
||||
"description": "not found"
|
||||
},
|
||||
"500": {
|
||||
"description": "internal server error"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"/frontends": {
|
||||
@ -746,19 +780,19 @@ func init() {
|
||||
"publicFrontend": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"created_at": {
|
||||
"createdAt": {
|
||||
"type": "integer"
|
||||
},
|
||||
"public_name": {
|
||||
"publicName": {
|
||||
"type": "string"
|
||||
},
|
||||
"token": {
|
||||
"type": "string"
|
||||
},
|
||||
"updated_at": {
|
||||
"updatedAt": {
|
||||
"type": "integer"
|
||||
},
|
||||
"url_template": {
|
||||
"urlTemplate": {
|
||||
"type": "string"
|
||||
},
|
||||
"zId": {
|
||||
@ -935,6 +969,20 @@ func init() {
|
||||
}
|
||||
}
|
||||
},
|
||||
"updateFrontendRequest": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"frontendToken": {
|
||||
"type": "string"
|
||||
},
|
||||
"publicName": {
|
||||
"type": "string"
|
||||
},
|
||||
"urlTemplate": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
},
|
||||
"verifyRequest": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
@ -1163,6 +1211,40 @@ func init() {
|
||||
"description": "internal server error"
|
||||
}
|
||||
}
|
||||
},
|
||||
"patch": {
|
||||
"security": [
|
||||
{
|
||||
"key": []
|
||||
}
|
||||
],
|
||||
"tags": [
|
||||
"admin"
|
||||
],
|
||||
"operationId": "updateFrontend",
|
||||
"parameters": [
|
||||
{
|
||||
"name": "body",
|
||||
"in": "body",
|
||||
"schema": {
|
||||
"$ref": "#/definitions/updateFrontendRequest"
|
||||
}
|
||||
}
|
||||
],
|
||||
"responses": {
|
||||
"200": {
|
||||
"description": "frontend updated"
|
||||
},
|
||||
"401": {
|
||||
"description": "unauthorized"
|
||||
},
|
||||
"404": {
|
||||
"description": "not found"
|
||||
},
|
||||
"500": {
|
||||
"description": "internal server error"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"/frontends": {
|
||||
@ -1692,19 +1774,19 @@ func init() {
|
||||
"publicFrontend": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"created_at": {
|
||||
"createdAt": {
|
||||
"type": "integer"
|
||||
},
|
||||
"public_name": {
|
||||
"publicName": {
|
||||
"type": "string"
|
||||
},
|
||||
"token": {
|
||||
"type": "string"
|
||||
},
|
||||
"updated_at": {
|
||||
"updatedAt": {
|
||||
"type": "integer"
|
||||
},
|
||||
"url_template": {
|
||||
"urlTemplate": {
|
||||
"type": "string"
|
||||
},
|
||||
"zId": {
|
||||
@ -1881,6 +1963,20 @@ func init() {
|
||||
}
|
||||
}
|
||||
},
|
||||
"updateFrontendRequest": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"frontendToken": {
|
||||
"type": "string"
|
||||
},
|
||||
"publicName": {
|
||||
"type": "string"
|
||||
},
|
||||
"urlTemplate": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
},
|
||||
"verifyRequest": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
|
Reference in New Issue
Block a user