admin/createFrontend api roughed in (#129)

This commit is contained in:
Michael Quigley
2022-12-01 15:13:43 -05:00
parent 9db6aa1c07
commit 81e5f7e469
15 changed files with 1111 additions and 0 deletions

View File

@ -146,6 +146,42 @@ func init() {
}
}
},
"/frontend": {
"post": {
"security": [
{
"key": []
}
],
"tags": [
"admin"
],
"operationId": "createFrontend",
"parameters": [
{
"name": "body",
"in": "body",
"schema": {
"$ref": "#/definitions/createFrontendRequest"
}
}
],
"responses": {
"201": {
"description": "frontend created",
"schema": {
"$ref": "#/definitions/createFrontendResponse"
}
},
"401": {
"description": "unauthorized"
},
"500": {
"description": "internal server error"
}
}
}
},
"/invite": {
"post": {
"tags": [
@ -492,6 +528,28 @@ func init() {
}
}
},
"createFrontendRequest": {
"type": "object",
"properties": {
"public_name": {
"type": "string"
},
"url_template": {
"type": "string"
},
"zId": {
"type": "string"
}
}
},
"createFrontendResponse": {
"type": "object",
"properties": {
"token": {
"type": "string"
}
}
},
"disableRequest": {
"type": "object",
"properties": {
@ -933,6 +991,42 @@ func init() {
}
}
},
"/frontend": {
"post": {
"security": [
{
"key": []
}
],
"tags": [
"admin"
],
"operationId": "createFrontend",
"parameters": [
{
"name": "body",
"in": "body",
"schema": {
"$ref": "#/definitions/createFrontendRequest"
}
}
],
"responses": {
"201": {
"description": "frontend created",
"schema": {
"$ref": "#/definitions/createFrontendResponse"
}
},
"401": {
"description": "unauthorized"
},
"500": {
"description": "internal server error"
}
}
}
},
"/invite": {
"post": {
"tags": [
@ -1279,6 +1373,28 @@ func init() {
}
}
},
"createFrontendRequest": {
"type": "object",
"properties": {
"public_name": {
"type": "string"
},
"url_template": {
"type": "string"
},
"zId": {
"type": "string"
}
}
},
"createFrontendResponse": {
"type": "object",
"properties": {
"token": {
"type": "string"
}
}
},
"disableRequest": {
"type": "object",
"properties": {