2022-07-22 16:52:36 +02:00
|
|
|
// Code generated by go-swagger; DO NOT EDIT.
|
|
|
|
|
2022-07-26 21:16:02 +02:00
|
|
|
package rest_server_zrok
|
2022-07-22 16:52:36 +02:00
|
|
|
|
|
|
|
// This file was generated by the swagger tool.
|
|
|
|
// Editing this file might prove futile when you re-run the swagger generate command
|
|
|
|
|
|
|
|
import (
|
|
|
|
"encoding/json"
|
|
|
|
)
|
|
|
|
|
|
|
|
var (
|
|
|
|
// SwaggerJSON embedded version of the swagger document used at generation time
|
|
|
|
SwaggerJSON json.RawMessage
|
|
|
|
// FlatSwaggerJSON embedded flattened version of the swagger document used at generation time
|
|
|
|
FlatSwaggerJSON json.RawMessage
|
|
|
|
)
|
|
|
|
|
|
|
|
func init() {
|
|
|
|
SwaggerJSON = json.RawMessage([]byte(`{
|
|
|
|
"consumes": [
|
2022-07-22 17:45:37 +02:00
|
|
|
"application/zrok.v1+json"
|
2022-07-22 16:52:36 +02:00
|
|
|
],
|
|
|
|
"produces": [
|
2022-07-22 17:45:37 +02:00
|
|
|
"application/zrok.v1+json"
|
2022-07-22 16:52:36 +02:00
|
|
|
],
|
|
|
|
"schemes": [
|
|
|
|
"http"
|
|
|
|
],
|
|
|
|
"swagger": "2.0",
|
|
|
|
"info": {
|
2022-07-22 17:16:30 +02:00
|
|
|
"description": "zrok client access",
|
|
|
|
"title": "zrok",
|
2022-11-30 17:43:00 +01:00
|
|
|
"version": "0.3.0"
|
2022-07-22 16:52:36 +02:00
|
|
|
},
|
2022-08-02 15:26:06 +02:00
|
|
|
"basePath": "/api/v1",
|
2022-07-22 16:52:36 +02:00
|
|
|
"paths": {
|
2022-11-23 18:12:11 +01:00
|
|
|
"/access": {
|
|
|
|
"post": {
|
|
|
|
"security": [
|
|
|
|
{
|
|
|
|
"key": []
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"tags": [
|
2023-01-04 19:43:37 +01:00
|
|
|
"share"
|
2022-11-23 18:12:11 +01:00
|
|
|
],
|
|
|
|
"operationId": "access",
|
|
|
|
"parameters": [
|
|
|
|
{
|
|
|
|
"name": "body",
|
|
|
|
"in": "body",
|
|
|
|
"schema": {
|
|
|
|
"$ref": "#/definitions/accessRequest"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"responses": {
|
|
|
|
"201": {
|
2022-11-28 19:33:59 +01:00
|
|
|
"description": "access created",
|
|
|
|
"schema": {
|
|
|
|
"$ref": "#/definitions/accessResponse"
|
|
|
|
}
|
2022-11-23 18:12:11 +01:00
|
|
|
},
|
|
|
|
"401": {
|
|
|
|
"description": "unauthorized"
|
|
|
|
},
|
2022-11-23 18:24:35 +01:00
|
|
|
"404": {
|
|
|
|
"description": "not found"
|
|
|
|
},
|
2022-11-23 18:12:11 +01:00
|
|
|
"500": {
|
|
|
|
"description": "internal server error"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
2024-08-19 17:33:15 +02:00
|
|
|
"/account": {
|
|
|
|
"post": {
|
|
|
|
"security": [
|
|
|
|
{
|
|
|
|
"key": []
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"tags": [
|
|
|
|
"admin"
|
|
|
|
],
|
|
|
|
"operationId": "createAccount",
|
|
|
|
"parameters": [
|
|
|
|
{
|
|
|
|
"name": "body",
|
|
|
|
"in": "body",
|
|
|
|
"schema": {
|
|
|
|
"properties": {
|
|
|
|
"email": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"password": {
|
|
|
|
"type": "string"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"responses": {
|
|
|
|
"201": {
|
|
|
|
"description": "created",
|
|
|
|
"schema": {
|
|
|
|
"properties": {
|
|
|
|
"token": {
|
|
|
|
"type": "string"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"401": {
|
|
|
|
"description": "unauthorized"
|
|
|
|
},
|
|
|
|
"500": {
|
|
|
|
"description": "internal server error"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
2024-01-23 17:20:02 +01:00
|
|
|
"/changePassword": {
|
|
|
|
"post": {
|
2024-02-14 20:18:22 +01:00
|
|
|
"security": [
|
|
|
|
{
|
|
|
|
"key": []
|
|
|
|
}
|
|
|
|
],
|
2024-01-23 17:20:02 +01:00
|
|
|
"tags": [
|
|
|
|
"account"
|
|
|
|
],
|
|
|
|
"operationId": "changePassword",
|
|
|
|
"parameters": [
|
|
|
|
{
|
|
|
|
"name": "body",
|
|
|
|
"in": "body",
|
|
|
|
"schema": {
|
|
|
|
"$ref": "#/definitions/changePasswordRequest"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"responses": {
|
|
|
|
"200": {
|
|
|
|
"description": "changed password"
|
|
|
|
},
|
|
|
|
"400": {
|
|
|
|
"description": "password not changed"
|
|
|
|
},
|
|
|
|
"401": {
|
|
|
|
"description": "unauthorized"
|
|
|
|
},
|
|
|
|
"422": {
|
|
|
|
"description": "password validation failure",
|
|
|
|
"schema": {
|
|
|
|
"$ref": "#/definitions/errorMessage"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"500": {
|
|
|
|
"description": "internal server error"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
2023-01-31 19:44:03 +01:00
|
|
|
"/configuration": {
|
|
|
|
"get": {
|
|
|
|
"tags": [
|
|
|
|
"metadata"
|
|
|
|
],
|
|
|
|
"operationId": "configuration",
|
|
|
|
"responses": {
|
|
|
|
"200": {
|
|
|
|
"description": "current configuration",
|
|
|
|
"schema": {
|
|
|
|
"$ref": "#/definitions/configuration"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
2023-05-12 17:57:34 +02:00
|
|
|
"/detail/account": {
|
|
|
|
"get": {
|
|
|
|
"security": [
|
|
|
|
{
|
|
|
|
"key": []
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"tags": [
|
|
|
|
"metadata"
|
|
|
|
],
|
|
|
|
"operationId": "getAccountDetail",
|
|
|
|
"responses": {
|
|
|
|
"200": {
|
|
|
|
"description": "ok",
|
|
|
|
"schema": {
|
|
|
|
"$ref": "#/definitions/environments"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"500": {
|
|
|
|
"description": "internal server error"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
2022-12-22 20:56:19 +01:00
|
|
|
"/detail/environment/{envZId}": {
|
2022-12-22 19:51:29 +01:00
|
|
|
"get": {
|
|
|
|
"security": [
|
|
|
|
{
|
|
|
|
"key": []
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"tags": [
|
|
|
|
"metadata"
|
|
|
|
],
|
|
|
|
"operationId": "getEnvironmentDetail",
|
|
|
|
"parameters": [
|
|
|
|
{
|
2022-12-22 20:56:19 +01:00
|
|
|
"type": "string",
|
|
|
|
"name": "envZId",
|
|
|
|
"in": "path",
|
|
|
|
"required": true
|
2022-12-22 19:51:29 +01:00
|
|
|
}
|
|
|
|
],
|
|
|
|
"responses": {
|
|
|
|
"200": {
|
|
|
|
"description": "ok",
|
|
|
|
"schema": {
|
2023-05-17 17:23:16 +02:00
|
|
|
"$ref": "#/definitions/environmentAndResources"
|
2022-12-22 19:51:29 +01:00
|
|
|
}
|
|
|
|
},
|
|
|
|
"401": {
|
|
|
|
"description": "unauthorized"
|
|
|
|
},
|
|
|
|
"404": {
|
|
|
|
"description": "not found"
|
|
|
|
},
|
|
|
|
"500": {
|
|
|
|
"description": "internal server error"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
2023-05-17 19:53:18 +02:00
|
|
|
"/detail/frontend/{feId}": {
|
|
|
|
"get": {
|
|
|
|
"security": [
|
|
|
|
{
|
|
|
|
"key": []
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"tags": [
|
|
|
|
"metadata"
|
|
|
|
],
|
|
|
|
"operationId": "getFrontendDetail",
|
|
|
|
"parameters": [
|
|
|
|
{
|
|
|
|
"type": "integer",
|
|
|
|
"name": "feId",
|
|
|
|
"in": "path",
|
|
|
|
"required": true
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"responses": {
|
|
|
|
"200": {
|
|
|
|
"description": "ok",
|
|
|
|
"schema": {
|
|
|
|
"$ref": "#/definitions/frontend"
|
2022-12-22 19:51:29 +01:00
|
|
|
}
|
|
|
|
},
|
|
|
|
"401": {
|
|
|
|
"description": "unauthorized"
|
|
|
|
},
|
|
|
|
"404": {
|
|
|
|
"description": "not found"
|
|
|
|
},
|
|
|
|
"500": {
|
|
|
|
"description": "internal server error"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
2023-01-04 19:43:37 +01:00
|
|
|
"/detail/share/{shrToken}": {
|
2022-12-22 21:09:37 +01:00
|
|
|
"get": {
|
|
|
|
"security": [
|
|
|
|
{
|
|
|
|
"key": []
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"tags": [
|
|
|
|
"metadata"
|
|
|
|
],
|
2023-01-04 19:43:37 +01:00
|
|
|
"operationId": "getShareDetail",
|
2022-12-22 21:09:37 +01:00
|
|
|
"parameters": [
|
|
|
|
{
|
|
|
|
"type": "string",
|
2023-01-04 19:43:37 +01:00
|
|
|
"name": "shrToken",
|
2022-12-22 21:09:37 +01:00
|
|
|
"in": "path",
|
|
|
|
"required": true
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"responses": {
|
|
|
|
"200": {
|
|
|
|
"description": "ok",
|
|
|
|
"schema": {
|
2023-01-04 19:43:37 +01:00
|
|
|
"$ref": "#/definitions/share"
|
2022-12-22 21:09:37 +01:00
|
|
|
}
|
|
|
|
},
|
|
|
|
"401": {
|
|
|
|
"description": "unauthorized"
|
|
|
|
},
|
|
|
|
"404": {
|
|
|
|
"description": "not found"
|
|
|
|
},
|
|
|
|
"500": {
|
|
|
|
"description": "internal server error"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
2022-09-01 23:39:02 +02:00
|
|
|
"/disable": {
|
|
|
|
"post": {
|
|
|
|
"security": [
|
|
|
|
{
|
|
|
|
"key": []
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"tags": [
|
2022-11-30 17:43:00 +01:00
|
|
|
"environment"
|
2022-09-01 23:39:02 +02:00
|
|
|
],
|
|
|
|
"operationId": "disable",
|
|
|
|
"parameters": [
|
|
|
|
{
|
|
|
|
"name": "body",
|
|
|
|
"in": "body",
|
|
|
|
"schema": {
|
|
|
|
"$ref": "#/definitions/disableRequest"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"responses": {
|
|
|
|
"200": {
|
|
|
|
"description": "environment disabled"
|
|
|
|
},
|
|
|
|
"401": {
|
|
|
|
"description": "invalid environment"
|
|
|
|
},
|
|
|
|
"500": {
|
2022-11-30 17:43:00 +01:00
|
|
|
"description": "internal server error"
|
2022-09-01 23:39:02 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
2022-07-25 23:05:44 +02:00
|
|
|
"/enable": {
|
|
|
|
"post": {
|
2022-07-27 20:45:16 +02:00
|
|
|
"security": [
|
|
|
|
{
|
|
|
|
"key": []
|
|
|
|
}
|
|
|
|
],
|
2022-07-25 23:05:44 +02:00
|
|
|
"tags": [
|
2022-11-30 17:43:00 +01:00
|
|
|
"environment"
|
2022-07-25 23:05:44 +02:00
|
|
|
],
|
|
|
|
"operationId": "enable",
|
2022-08-03 20:25:27 +02:00
|
|
|
"parameters": [
|
|
|
|
{
|
|
|
|
"name": "body",
|
|
|
|
"in": "body",
|
|
|
|
"schema": {
|
|
|
|
"$ref": "#/definitions/enableRequest"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
],
|
2022-07-25 23:05:44 +02:00
|
|
|
"responses": {
|
|
|
|
"201": {
|
|
|
|
"description": "environment enabled",
|
|
|
|
"schema": {
|
|
|
|
"$ref": "#/definitions/enableResponse"
|
|
|
|
}
|
|
|
|
},
|
2022-07-27 20:50:46 +02:00
|
|
|
"401": {
|
2022-11-30 17:43:00 +01:00
|
|
|
"description": "unauthorized"
|
2022-07-27 20:50:46 +02:00
|
|
|
},
|
2022-07-26 18:26:58 +02:00
|
|
|
"404": {
|
|
|
|
"description": "account not found"
|
|
|
|
},
|
2022-07-25 23:05:44 +02:00
|
|
|
"500": {
|
2022-11-30 17:43:00 +01:00
|
|
|
"description": "internal server error"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
2022-12-01 21:13:43 +01:00
|
|
|
"/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"
|
|
|
|
}
|
|
|
|
},
|
2023-02-01 20:13:15 +01:00
|
|
|
"400": {
|
|
|
|
"description": "bad request"
|
|
|
|
},
|
2022-12-01 21:13:43 +01:00
|
|
|
"401": {
|
|
|
|
"description": "unauthorized"
|
|
|
|
},
|
2022-12-02 14:44:17 +01:00
|
|
|
"404": {
|
|
|
|
"description": "not found"
|
|
|
|
},
|
2022-12-01 21:13:43 +01:00
|
|
|
"500": {
|
|
|
|
"description": "internal server error"
|
|
|
|
}
|
|
|
|
}
|
2022-12-02 14:58:41 +01:00
|
|
|
},
|
|
|
|
"delete": {
|
|
|
|
"security": [
|
|
|
|
{
|
|
|
|
"key": []
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"tags": [
|
|
|
|
"admin"
|
|
|
|
],
|
|
|
|
"operationId": "deleteFrontend",
|
|
|
|
"parameters": [
|
|
|
|
{
|
|
|
|
"name": "body",
|
|
|
|
"in": "body",
|
|
|
|
"schema": {
|
|
|
|
"$ref": "#/definitions/deleteFrontendRequest"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"responses": {
|
|
|
|
"200": {
|
|
|
|
"description": "frontend deleted"
|
|
|
|
},
|
|
|
|
"401": {
|
|
|
|
"description": "unauthorized"
|
|
|
|
},
|
|
|
|
"404": {
|
|
|
|
"description": "not found"
|
|
|
|
},
|
|
|
|
"500": {
|
|
|
|
"description": "internal server error"
|
|
|
|
}
|
|
|
|
}
|
2022-12-02 16:46:53 +01:00
|
|
|
},
|
|
|
|
"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"
|
|
|
|
}
|
|
|
|
}
|
2022-12-01 21:13:43 +01:00
|
|
|
}
|
|
|
|
},
|
2022-12-02 15:30:06 +01:00
|
|
|
"/frontends": {
|
|
|
|
"get": {
|
|
|
|
"security": [
|
|
|
|
{
|
|
|
|
"key": []
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"tags": [
|
|
|
|
"admin"
|
|
|
|
],
|
|
|
|
"operationId": "listFrontends",
|
|
|
|
"responses": {
|
|
|
|
"200": {
|
|
|
|
"description": "ok",
|
|
|
|
"schema": {
|
|
|
|
"$ref": "#/definitions/publicFrontendList"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"401": {
|
|
|
|
"description": "unauthorized"
|
|
|
|
},
|
|
|
|
"500": {
|
|
|
|
"description": "internal server error"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
2022-12-06 20:06:12 +01:00
|
|
|
"/identity": {
|
|
|
|
"post": {
|
|
|
|
"security": [
|
|
|
|
{
|
|
|
|
"key": []
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"tags": [
|
|
|
|
"admin"
|
|
|
|
],
|
|
|
|
"operationId": "createIdentity",
|
|
|
|
"parameters": [
|
|
|
|
{
|
|
|
|
"name": "body",
|
|
|
|
"in": "body",
|
|
|
|
"schema": {
|
|
|
|
"properties": {
|
|
|
|
"name": {
|
|
|
|
"type": "string"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"responses": {
|
|
|
|
"201": {
|
|
|
|
"description": "created",
|
|
|
|
"schema": {
|
|
|
|
"properties": {
|
|
|
|
"cfg": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"identity": {
|
|
|
|
"type": "string"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"401": {
|
|
|
|
"description": "unauthorized"
|
|
|
|
},
|
|
|
|
"500": {
|
|
|
|
"description": "internal server error"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
2022-11-30 17:43:00 +01:00
|
|
|
"/invite": {
|
|
|
|
"post": {
|
|
|
|
"tags": [
|
|
|
|
"account"
|
|
|
|
],
|
|
|
|
"operationId": "invite",
|
|
|
|
"parameters": [
|
|
|
|
{
|
|
|
|
"name": "body",
|
|
|
|
"in": "body",
|
2022-07-27 19:38:35 +02:00
|
|
|
"schema": {
|
2022-11-30 17:43:00 +01:00
|
|
|
"$ref": "#/definitions/inviteRequest"
|
2022-07-27 19:38:35 +02:00
|
|
|
}
|
2022-07-25 23:05:44 +02:00
|
|
|
}
|
2022-11-30 17:43:00 +01:00
|
|
|
],
|
|
|
|
"responses": {
|
|
|
|
"201": {
|
|
|
|
"description": "invitation created"
|
|
|
|
},
|
|
|
|
"400": {
|
2023-02-08 02:06:35 +01:00
|
|
|
"description": "invitation not created (already exists)",
|
|
|
|
"schema": {
|
|
|
|
"$ref": "#/definitions/errorMessage"
|
|
|
|
}
|
2022-11-30 17:43:00 +01:00
|
|
|
},
|
2023-01-19 21:40:41 +01:00
|
|
|
"401": {
|
|
|
|
"description": "unauthorized"
|
|
|
|
},
|
2022-11-30 17:43:00 +01:00
|
|
|
"500": {
|
|
|
|
"description": "internal server error"
|
|
|
|
}
|
2022-07-25 23:05:44 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
2023-01-10 19:26:22 +01:00
|
|
|
"/invite/token/generate": {
|
2023-01-09 18:00:37 +01:00
|
|
|
"post": {
|
2023-01-10 16:53:41 +01:00
|
|
|
"security": [
|
|
|
|
{
|
|
|
|
"key": []
|
|
|
|
}
|
|
|
|
],
|
2023-01-09 18:00:37 +01:00
|
|
|
"tags": [
|
2023-01-10 16:53:41 +01:00
|
|
|
"admin"
|
2023-01-09 18:00:37 +01:00
|
|
|
],
|
2023-01-10 19:26:22 +01:00
|
|
|
"operationId": "inviteTokenGenerate",
|
2023-01-09 18:00:37 +01:00
|
|
|
"parameters": [
|
|
|
|
{
|
|
|
|
"name": "body",
|
|
|
|
"in": "body",
|
|
|
|
"schema": {
|
2023-01-10 19:26:22 +01:00
|
|
|
"$ref": "#/definitions/inviteTokenGenerateRequest"
|
2023-01-09 18:00:37 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"responses": {
|
|
|
|
"201": {
|
|
|
|
"description": "invitation tokens created"
|
|
|
|
},
|
|
|
|
"400": {
|
|
|
|
"description": "invitation tokens not created"
|
|
|
|
},
|
2023-01-10 16:53:41 +01:00
|
|
|
"401": {
|
|
|
|
"description": "unauthorized"
|
|
|
|
},
|
2023-01-09 18:00:37 +01:00
|
|
|
"500": {
|
|
|
|
"description": "internal server error"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
2022-08-02 19:23:31 +02:00
|
|
|
"/login": {
|
|
|
|
"post": {
|
|
|
|
"tags": [
|
2022-11-30 17:43:00 +01:00
|
|
|
"account"
|
2022-08-02 19:23:31 +02:00
|
|
|
],
|
|
|
|
"operationId": "login",
|
|
|
|
"parameters": [
|
|
|
|
{
|
|
|
|
"name": "body",
|
|
|
|
"in": "body",
|
|
|
|
"schema": {
|
|
|
|
"$ref": "#/definitions/loginRequest"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"responses": {
|
|
|
|
"200": {
|
|
|
|
"description": "login successful",
|
|
|
|
"schema": {
|
|
|
|
"$ref": "#/definitions/loginResponse"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"401": {
|
|
|
|
"description": "invalid login"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
2023-05-08 20:33:15 +02:00
|
|
|
"/metrics/account": {
|
|
|
|
"get": {
|
|
|
|
"security": [
|
|
|
|
{
|
|
|
|
"key": []
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"tags": [
|
2023-05-09 20:16:01 +02:00
|
|
|
"metadata"
|
2023-05-08 20:33:15 +02:00
|
|
|
],
|
|
|
|
"operationId": "getAccountMetrics",
|
2023-05-09 17:36:53 +02:00
|
|
|
"parameters": [
|
|
|
|
{
|
2023-05-09 20:16:01 +02:00
|
|
|
"type": "string",
|
2023-05-09 17:36:53 +02:00
|
|
|
"name": "duration",
|
|
|
|
"in": "query"
|
|
|
|
}
|
|
|
|
],
|
2023-05-08 20:33:15 +02:00
|
|
|
"responses": {
|
|
|
|
"200": {
|
|
|
|
"description": "account metrics",
|
|
|
|
"schema": {
|
|
|
|
"$ref": "#/definitions/metrics"
|
|
|
|
}
|
2023-05-09 20:16:01 +02:00
|
|
|
},
|
|
|
|
"400": {
|
|
|
|
"description": "bad request"
|
|
|
|
},
|
|
|
|
"500": {
|
|
|
|
"description": "internal server error"
|
2023-05-08 20:33:15 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"/metrics/environment/{envId}": {
|
|
|
|
"get": {
|
|
|
|
"security": [
|
|
|
|
{
|
|
|
|
"key": []
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"tags": [
|
2023-05-09 20:16:01 +02:00
|
|
|
"metadata"
|
2023-05-08 20:33:15 +02:00
|
|
|
],
|
|
|
|
"operationId": "getEnvironmentMetrics",
|
|
|
|
"parameters": [
|
|
|
|
{
|
2023-05-10 20:51:46 +02:00
|
|
|
"type": "string",
|
2023-05-08 20:33:15 +02:00
|
|
|
"name": "envId",
|
|
|
|
"in": "path",
|
|
|
|
"required": true
|
2023-05-09 17:36:53 +02:00
|
|
|
},
|
|
|
|
{
|
2023-05-09 20:16:01 +02:00
|
|
|
"type": "string",
|
2023-05-09 17:36:53 +02:00
|
|
|
"name": "duration",
|
|
|
|
"in": "query"
|
2023-05-08 20:33:15 +02:00
|
|
|
}
|
|
|
|
],
|
|
|
|
"responses": {
|
|
|
|
"200": {
|
|
|
|
"description": "environment metrics",
|
|
|
|
"schema": {
|
|
|
|
"$ref": "#/definitions/metrics"
|
|
|
|
}
|
|
|
|
},
|
2023-05-09 22:36:50 +02:00
|
|
|
"400": {
|
|
|
|
"description": "bad request"
|
|
|
|
},
|
2023-05-08 20:33:15 +02:00
|
|
|
"401": {
|
|
|
|
"description": "unauthorized"
|
2023-05-09 22:36:50 +02:00
|
|
|
},
|
|
|
|
"500": {
|
|
|
|
"description": "internal server error"
|
2023-05-08 20:33:15 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"/metrics/share/{shrToken}": {
|
|
|
|
"get": {
|
|
|
|
"security": [
|
|
|
|
{
|
|
|
|
"key": []
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"tags": [
|
2023-05-09 20:16:01 +02:00
|
|
|
"metadata"
|
2023-05-08 20:33:15 +02:00
|
|
|
],
|
|
|
|
"operationId": "getShareMetrics",
|
|
|
|
"parameters": [
|
|
|
|
{
|
|
|
|
"type": "string",
|
|
|
|
"name": "shrToken",
|
|
|
|
"in": "path",
|
|
|
|
"required": true
|
2023-05-09 17:36:53 +02:00
|
|
|
},
|
|
|
|
{
|
2023-05-09 20:16:01 +02:00
|
|
|
"type": "string",
|
2023-05-09 17:36:53 +02:00
|
|
|
"name": "duration",
|
|
|
|
"in": "query"
|
2023-05-08 20:33:15 +02:00
|
|
|
}
|
|
|
|
],
|
|
|
|
"responses": {
|
|
|
|
"200": {
|
|
|
|
"description": "share metrics",
|
|
|
|
"schema": {
|
|
|
|
"$ref": "#/definitions/metrics"
|
|
|
|
}
|
|
|
|
},
|
2023-05-09 22:36:50 +02:00
|
|
|
"400": {
|
|
|
|
"description": "bad request"
|
|
|
|
},
|
2023-05-08 20:33:15 +02:00
|
|
|
"401": {
|
|
|
|
"description": "unauthorized"
|
2023-05-09 22:36:50 +02:00
|
|
|
},
|
|
|
|
"500": {
|
|
|
|
"description": "internal server error"
|
2023-05-08 20:33:15 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
2022-08-03 20:36:40 +02:00
|
|
|
"/overview": {
|
|
|
|
"get": {
|
2022-08-03 20:58:11 +02:00
|
|
|
"security": [
|
|
|
|
{
|
|
|
|
"key": []
|
|
|
|
}
|
|
|
|
],
|
2022-08-03 20:36:40 +02:00
|
|
|
"tags": [
|
|
|
|
"metadata"
|
|
|
|
],
|
|
|
|
"operationId": "overview",
|
|
|
|
"responses": {
|
|
|
|
"200": {
|
|
|
|
"description": "overview returned",
|
|
|
|
"schema": {
|
2023-05-16 17:51:03 +02:00
|
|
|
"$ref": "#/definitions/overview"
|
2022-08-03 20:36:40 +02:00
|
|
|
}
|
|
|
|
},
|
|
|
|
"500": {
|
|
|
|
"description": "internal server error",
|
|
|
|
"schema": {
|
|
|
|
"$ref": "#/definitions/errorMessage"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
2024-02-20 17:40:11 +01:00
|
|
|
"/regenerateToken": {
|
|
|
|
"post": {
|
|
|
|
"security": [
|
|
|
|
{
|
|
|
|
"key": []
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"tags": [
|
|
|
|
"account"
|
|
|
|
],
|
|
|
|
"operationId": "regenerateToken",
|
|
|
|
"parameters": [
|
|
|
|
{
|
|
|
|
"name": "body",
|
|
|
|
"in": "body",
|
|
|
|
"schema": {
|
|
|
|
"properties": {
|
|
|
|
"emailAddress": {
|
|
|
|
"type": "string"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"responses": {
|
|
|
|
"200": {
|
|
|
|
"description": "regenerate account token",
|
|
|
|
"schema": {
|
|
|
|
"properties": {
|
|
|
|
"token": {
|
|
|
|
"type": "string"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"404": {
|
|
|
|
"description": "account not found"
|
|
|
|
},
|
|
|
|
"500": {
|
|
|
|
"description": "internal server error"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
2022-09-20 19:42:34 +02:00
|
|
|
"/register": {
|
|
|
|
"post": {
|
|
|
|
"tags": [
|
2022-11-30 17:43:00 +01:00
|
|
|
"account"
|
2022-09-20 19:42:34 +02:00
|
|
|
],
|
|
|
|
"operationId": "register",
|
|
|
|
"parameters": [
|
|
|
|
{
|
|
|
|
"name": "body",
|
|
|
|
"in": "body",
|
|
|
|
"schema": {
|
|
|
|
"$ref": "#/definitions/registerRequest"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"responses": {
|
|
|
|
"200": {
|
2022-09-20 22:01:46 +02:00
|
|
|
"description": "account created",
|
|
|
|
"schema": {
|
|
|
|
"$ref": "#/definitions/registerResponse"
|
|
|
|
}
|
2022-09-20 19:42:34 +02:00
|
|
|
},
|
|
|
|
"404": {
|
|
|
|
"description": "request not found"
|
|
|
|
},
|
2023-05-11 20:35:49 +02:00
|
|
|
"422": {
|
|
|
|
"description": "password validation failure",
|
|
|
|
"schema": {
|
|
|
|
"$ref": "#/definitions/errorMessage"
|
|
|
|
}
|
|
|
|
},
|
2022-09-20 19:42:34 +02:00
|
|
|
"500": {
|
2022-11-30 17:43:00 +01:00
|
|
|
"description": "internal server error"
|
2022-09-20 19:42:34 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
2023-01-18 20:05:10 +01:00
|
|
|
"/resetPassword": {
|
|
|
|
"post": {
|
|
|
|
"tags": [
|
|
|
|
"account"
|
|
|
|
],
|
|
|
|
"operationId": "resetPassword",
|
|
|
|
"parameters": [
|
|
|
|
{
|
|
|
|
"name": "body",
|
|
|
|
"in": "body",
|
|
|
|
"schema": {
|
|
|
|
"$ref": "#/definitions/resetPasswordRequest"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"responses": {
|
|
|
|
"200": {
|
|
|
|
"description": "password reset"
|
|
|
|
},
|
|
|
|
"404": {
|
|
|
|
"description": "request not found"
|
|
|
|
},
|
2023-05-11 20:35:49 +02:00
|
|
|
"422": {
|
|
|
|
"description": "password validation failure",
|
|
|
|
"schema": {
|
|
|
|
"$ref": "#/definitions/errorMessage"
|
|
|
|
}
|
|
|
|
},
|
2023-01-18 20:05:10 +01:00
|
|
|
"500": {
|
|
|
|
"description": "internal server error"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
2023-01-20 18:08:40 +01:00
|
|
|
"/resetPasswordRequest": {
|
|
|
|
"post": {
|
|
|
|
"tags": [
|
|
|
|
"account"
|
|
|
|
],
|
|
|
|
"operationId": "resetPasswordRequest",
|
|
|
|
"parameters": [
|
|
|
|
{
|
|
|
|
"name": "body",
|
|
|
|
"in": "body",
|
|
|
|
"schema": {
|
|
|
|
"properties": {
|
|
|
|
"emailAddress": {
|
|
|
|
"type": "string"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"responses": {
|
|
|
|
"201": {
|
|
|
|
"description": "forgot password request created"
|
|
|
|
},
|
|
|
|
"400": {
|
|
|
|
"description": "forgot password request not created"
|
|
|
|
},
|
|
|
|
"500": {
|
|
|
|
"description": "internal server error"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
2022-11-18 21:36:55 +01:00
|
|
|
"/share": {
|
2022-07-26 21:38:35 +02:00
|
|
|
"post": {
|
2022-07-28 20:32:49 +02:00
|
|
|
"security": [
|
|
|
|
{
|
|
|
|
"key": []
|
|
|
|
}
|
|
|
|
],
|
2022-07-26 21:38:35 +02:00
|
|
|
"tags": [
|
2023-01-04 19:43:37 +01:00
|
|
|
"share"
|
2022-07-26 21:38:35 +02:00
|
|
|
],
|
2022-11-18 21:36:55 +01:00
|
|
|
"operationId": "share",
|
2022-07-26 21:38:35 +02:00
|
|
|
"parameters": [
|
|
|
|
{
|
|
|
|
"name": "body",
|
|
|
|
"in": "body",
|
|
|
|
"schema": {
|
2022-11-18 21:36:55 +01:00
|
|
|
"$ref": "#/definitions/shareRequest"
|
2022-07-26 21:38:35 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"responses": {
|
|
|
|
"201": {
|
2023-01-04 19:43:37 +01:00
|
|
|
"description": "share created",
|
2022-07-26 21:38:35 +02:00
|
|
|
"schema": {
|
2022-11-18 21:36:55 +01:00
|
|
|
"$ref": "#/definitions/shareResponse"
|
2022-07-26 21:38:35 +02:00
|
|
|
}
|
2022-07-27 19:17:47 +02:00
|
|
|
},
|
2022-08-01 21:44:26 +02:00
|
|
|
"401": {
|
2022-11-18 21:36:55 +01:00
|
|
|
"description": "unauthorized"
|
2022-08-01 21:44:26 +02:00
|
|
|
},
|
2022-12-06 18:00:25 +01:00
|
|
|
"404": {
|
|
|
|
"description": "not found"
|
|
|
|
},
|
2024-01-24 16:48:27 +01:00
|
|
|
"409": {
|
|
|
|
"description": "conflict"
|
|
|
|
},
|
2023-02-22 16:37:07 +01:00
|
|
|
"422": {
|
2023-09-21 18:57:14 +02:00
|
|
|
"description": "unprocessable"
|
2023-02-22 16:37:07 +01:00
|
|
|
},
|
2022-07-27 19:17:47 +02:00
|
|
|
"500": {
|
2022-07-27 19:38:35 +02:00
|
|
|
"description": "internal server error",
|
|
|
|
"schema": {
|
|
|
|
"$ref": "#/definitions/errorMessage"
|
|
|
|
}
|
2022-07-26 21:38:35 +02:00
|
|
|
}
|
|
|
|
}
|
2022-12-02 19:21:05 +01:00
|
|
|
},
|
|
|
|
"patch": {
|
|
|
|
"security": [
|
|
|
|
{
|
|
|
|
"key": []
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"tags": [
|
2023-01-04 19:43:37 +01:00
|
|
|
"share"
|
2022-12-02 19:21:05 +01:00
|
|
|
],
|
|
|
|
"operationId": "updateShare",
|
|
|
|
"parameters": [
|
|
|
|
{
|
|
|
|
"name": "body",
|
|
|
|
"in": "body",
|
|
|
|
"schema": {
|
|
|
|
"$ref": "#/definitions/updateShareRequest"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"responses": {
|
|
|
|
"200": {
|
2023-01-04 19:43:37 +01:00
|
|
|
"description": "share updated"
|
2022-12-02 19:21:05 +01:00
|
|
|
},
|
2024-03-06 17:57:03 +01:00
|
|
|
"400": {
|
|
|
|
"description": "bad request"
|
|
|
|
},
|
2022-12-02 19:21:05 +01:00
|
|
|
"401": {
|
|
|
|
"description": "unauthorized"
|
|
|
|
},
|
|
|
|
"404": {
|
|
|
|
"description": "not found"
|
|
|
|
},
|
|
|
|
"500": {
|
|
|
|
"description": "internal server error"
|
|
|
|
}
|
|
|
|
}
|
2022-07-26 21:38:35 +02:00
|
|
|
}
|
|
|
|
},
|
2022-11-23 18:12:11 +01:00
|
|
|
"/unaccess": {
|
|
|
|
"delete": {
|
|
|
|
"security": [
|
|
|
|
{
|
|
|
|
"key": []
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"tags": [
|
2023-01-04 19:43:37 +01:00
|
|
|
"share"
|
2022-11-23 18:12:11 +01:00
|
|
|
],
|
|
|
|
"operationId": "unaccess",
|
|
|
|
"parameters": [
|
|
|
|
{
|
|
|
|
"name": "body",
|
|
|
|
"in": "body",
|
|
|
|
"schema": {
|
|
|
|
"$ref": "#/definitions/unaccessRequest"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"responses": {
|
|
|
|
"200": {
|
|
|
|
"description": "access removed"
|
|
|
|
},
|
|
|
|
"401": {
|
|
|
|
"description": "unauthorized"
|
|
|
|
},
|
|
|
|
"404": {
|
|
|
|
"description": "not found"
|
|
|
|
},
|
|
|
|
"500": {
|
|
|
|
"description": "internal server error"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
2022-11-18 21:36:55 +01:00
|
|
|
"/unshare": {
|
2022-07-27 17:35:28 +02:00
|
|
|
"delete": {
|
2022-07-28 20:32:49 +02:00
|
|
|
"security": [
|
|
|
|
{
|
|
|
|
"key": []
|
|
|
|
}
|
|
|
|
],
|
2022-07-27 17:35:28 +02:00
|
|
|
"tags": [
|
2023-01-04 19:43:37 +01:00
|
|
|
"share"
|
2022-07-27 17:35:28 +02:00
|
|
|
],
|
2022-11-18 21:36:55 +01:00
|
|
|
"operationId": "unshare",
|
2022-07-27 17:35:28 +02:00
|
|
|
"parameters": [
|
|
|
|
{
|
|
|
|
"name": "body",
|
|
|
|
"in": "body",
|
|
|
|
"schema": {
|
2022-11-18 21:36:55 +01:00
|
|
|
"$ref": "#/definitions/unshareRequest"
|
2022-07-27 17:35:28 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"responses": {
|
|
|
|
"200": {
|
2023-01-04 19:43:37 +01:00
|
|
|
"description": "share removed"
|
2022-11-18 21:36:55 +01:00
|
|
|
},
|
|
|
|
"401": {
|
|
|
|
"description": "unauthorized"
|
2022-07-27 17:35:28 +02:00
|
|
|
},
|
2022-08-01 21:44:26 +02:00
|
|
|
"404": {
|
2022-11-18 21:36:55 +01:00
|
|
|
"description": "not found"
|
2022-08-01 21:44:26 +02:00
|
|
|
},
|
2022-07-27 17:35:28 +02:00
|
|
|
"500": {
|
2022-07-27 19:38:35 +02:00
|
|
|
"description": "internal server error",
|
|
|
|
"schema": {
|
|
|
|
"$ref": "#/definitions/errorMessage"
|
|
|
|
}
|
2022-07-27 17:35:28 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
2022-09-19 21:58:52 +02:00
|
|
|
"/verify": {
|
2022-09-19 22:26:54 +02:00
|
|
|
"post": {
|
2022-09-19 21:58:52 +02:00
|
|
|
"tags": [
|
2022-11-30 17:43:00 +01:00
|
|
|
"account"
|
2022-09-19 21:58:52 +02:00
|
|
|
],
|
|
|
|
"operationId": "verify",
|
|
|
|
"parameters": [
|
|
|
|
{
|
|
|
|
"name": "body",
|
|
|
|
"in": "body",
|
|
|
|
"schema": {
|
|
|
|
"$ref": "#/definitions/verifyRequest"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"responses": {
|
|
|
|
"200": {
|
|
|
|
"description": "token ready",
|
|
|
|
"schema": {
|
|
|
|
"$ref": "#/definitions/verifyResponse"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"404": {
|
|
|
|
"description": "token not found"
|
|
|
|
},
|
|
|
|
"500": {
|
2022-11-30 17:43:00 +01:00
|
|
|
"description": "internal server error"
|
2022-09-19 21:58:52 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
2022-07-25 17:51:23 +02:00
|
|
|
"/version": {
|
|
|
|
"get": {
|
|
|
|
"tags": [
|
|
|
|
"metadata"
|
|
|
|
],
|
|
|
|
"operationId": "version",
|
|
|
|
"responses": {
|
|
|
|
"200": {
|
2022-09-19 21:58:52 +02:00
|
|
|
"description": "current server version",
|
2022-07-25 17:51:23 +02:00
|
|
|
"schema": {
|
|
|
|
"$ref": "#/definitions/version"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2022-07-22 16:52:36 +02:00
|
|
|
}
|
|
|
|
},
|
|
|
|
"definitions": {
|
2022-11-23 18:12:11 +01:00
|
|
|
"accessRequest": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
2022-11-30 18:46:19 +01:00
|
|
|
"envZId": {
|
2022-11-23 18:12:11 +01:00
|
|
|
"type": "string"
|
|
|
|
},
|
2023-01-04 19:43:37 +01:00
|
|
|
"shrToken": {
|
2022-11-23 18:12:11 +01:00
|
|
|
"type": "string"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
2022-11-28 19:33:59 +01:00
|
|
|
"accessResponse": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
2023-05-01 18:19:06 +02:00
|
|
|
"backendMode": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
2022-11-30 18:46:19 +01:00
|
|
|
"frontendToken": {
|
2022-11-28 19:33:59 +01:00
|
|
|
"type": "string"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
2022-08-16 17:46:54 +02:00
|
|
|
"authUser": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"password": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"username": {
|
|
|
|
"type": "string"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
2024-01-23 17:20:02 +01:00
|
|
|
"changePasswordRequest": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"email": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"newPassword": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"oldPassword": {
|
|
|
|
"type": "string"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
2023-01-31 19:44:03 +01:00
|
|
|
"configuration": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
2023-05-22 21:42:20 +02:00
|
|
|
"inviteTokenContact": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"invitesOpen": {
|
|
|
|
"type": "boolean"
|
|
|
|
},
|
2023-05-11 20:35:49 +02:00
|
|
|
"passwordRequirements": {
|
|
|
|
"$ref": "#/definitions/passwordRequirements"
|
|
|
|
},
|
2023-05-22 21:42:20 +02:00
|
|
|
"requiresInviteToken": {
|
2023-04-12 01:41:40 +02:00
|
|
|
"type": "boolean"
|
|
|
|
},
|
2023-01-31 19:44:03 +01:00
|
|
|
"touLink": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"version": {
|
|
|
|
"type": "string"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
2022-12-01 21:13:43 +01:00
|
|
|
"createFrontendRequest": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
2024-06-18 19:38:00 +02:00
|
|
|
"permissionMode": {
|
|
|
|
"type": "string",
|
|
|
|
"enum": [
|
|
|
|
"open",
|
|
|
|
"closed"
|
|
|
|
]
|
|
|
|
},
|
2022-12-01 21:13:43 +01:00
|
|
|
"public_name": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"url_template": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"zId": {
|
|
|
|
"type": "string"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"createFrontendResponse": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"token": {
|
|
|
|
"type": "string"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
2022-12-02 14:58:41 +01:00
|
|
|
"deleteFrontendRequest": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"frontendToken": {
|
|
|
|
"type": "string"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
2022-09-01 23:39:02 +02:00
|
|
|
"disableRequest": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"identity": {
|
|
|
|
"type": "string"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
2022-08-03 20:25:27 +02:00
|
|
|
"enableRequest": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"description": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"host": {
|
|
|
|
"type": "string"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
2022-07-25 22:42:06 +02:00
|
|
|
"enableResponse": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
2022-07-26 18:26:58 +02:00
|
|
|
"cfg": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
2022-07-25 22:42:06 +02:00
|
|
|
"identity": {
|
2022-07-25 17:44:17 +02:00
|
|
|
"type": "string"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
2022-08-03 17:54:11 +02:00
|
|
|
"environment": {
|
2022-08-02 19:54:40 +02:00
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
2023-05-12 17:57:34 +02:00
|
|
|
"activity": {
|
|
|
|
"$ref": "#/definitions/sparkData"
|
2022-08-02 19:54:40 +02:00
|
|
|
},
|
2022-08-03 19:48:17 +02:00
|
|
|
"address": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
2022-08-02 19:54:40 +02:00
|
|
|
"createdAt": {
|
2022-11-01 21:52:02 +01:00
|
|
|
"type": "integer"
|
2022-08-02 19:54:40 +02:00
|
|
|
},
|
2022-08-03 19:48:17 +02:00
|
|
|
"description": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"host": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
2023-05-15 20:14:52 +02:00
|
|
|
"limited": {
|
|
|
|
"type": "boolean"
|
|
|
|
},
|
2022-08-02 19:54:40 +02:00
|
|
|
"updatedAt": {
|
2022-11-01 21:52:02 +01:00
|
|
|
"type": "integer"
|
2022-08-02 19:54:40 +02:00
|
|
|
},
|
2022-10-19 18:35:29 +02:00
|
|
|
"zId": {
|
2022-08-02 19:54:40 +02:00
|
|
|
"type": "string"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
2023-05-17 17:23:16 +02:00
|
|
|
"environmentAndResources": {
|
2022-08-03 20:36:40 +02:00
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"environment": {
|
|
|
|
"$ref": "#/definitions/environment"
|
|
|
|
},
|
2023-05-17 17:23:16 +02:00
|
|
|
"frontends": {
|
|
|
|
"$ref": "#/definitions/frontends"
|
|
|
|
},
|
2023-01-04 19:43:37 +01:00
|
|
|
"shares": {
|
|
|
|
"$ref": "#/definitions/shares"
|
2022-08-03 20:36:40 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
2022-08-03 17:54:11 +02:00
|
|
|
"environments": {
|
|
|
|
"type": "array",
|
|
|
|
"items": {
|
|
|
|
"$ref": "#/definitions/environment"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"errorMessage": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
2023-05-17 17:23:16 +02:00
|
|
|
"frontend": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"createdAt": {
|
|
|
|
"type": "integer"
|
|
|
|
},
|
2023-05-17 19:21:01 +02:00
|
|
|
"id": {
|
|
|
|
"type": "integer"
|
|
|
|
},
|
2023-05-17 17:23:16 +02:00
|
|
|
"shrToken": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
2024-01-05 19:26:18 +01:00
|
|
|
"token": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
2023-05-17 17:23:16 +02:00
|
|
|
"updatedAt": {
|
|
|
|
"type": "integer"
|
|
|
|
},
|
|
|
|
"zId": {
|
|
|
|
"type": "string"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"frontends": {
|
|
|
|
"type": "array",
|
|
|
|
"items": {
|
|
|
|
"$ref": "#/definitions/frontend"
|
|
|
|
}
|
|
|
|
},
|
2022-11-30 17:43:00 +01:00
|
|
|
"inviteRequest": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"email": {
|
|
|
|
"type": "string"
|
2023-01-09 20:23:02 +01:00
|
|
|
},
|
|
|
|
"token": {
|
|
|
|
"type": "string"
|
2022-11-30 17:43:00 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
2023-01-10 19:26:22 +01:00
|
|
|
"inviteTokenGenerateRequest": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"tokens": {
|
|
|
|
"type": "array",
|
|
|
|
"items": {
|
|
|
|
"type": "string"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
2022-08-02 19:23:31 +02:00
|
|
|
"loginRequest": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"email": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"password": {
|
|
|
|
"type": "string"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"loginResponse": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
2023-05-08 20:33:15 +02:00
|
|
|
"metrics": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"id": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"period": {
|
|
|
|
"type": "number"
|
|
|
|
},
|
2023-05-09 22:22:30 +02:00
|
|
|
"samples": {
|
2023-05-08 20:33:15 +02:00
|
|
|
"type": "array",
|
|
|
|
"items": {
|
2023-05-09 22:22:30 +02:00
|
|
|
"$ref": "#/definitions/metricsSample"
|
2023-05-08 20:33:15 +02:00
|
|
|
}
|
|
|
|
},
|
|
|
|
"scope": {
|
|
|
|
"type": "string"
|
2023-05-09 22:22:30 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"metricsSample": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"rx": {
|
|
|
|
"type": "number"
|
|
|
|
},
|
|
|
|
"timestamp": {
|
|
|
|
"type": "number"
|
2023-05-08 20:33:15 +02:00
|
|
|
},
|
|
|
|
"tx": {
|
2023-05-09 22:22:30 +02:00
|
|
|
"type": "number"
|
2023-05-08 20:33:15 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
2023-05-16 17:51:03 +02:00
|
|
|
"overview": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"accountLimited": {
|
|
|
|
"type": "boolean"
|
|
|
|
},
|
|
|
|
"environments": {
|
2023-05-17 17:23:16 +02:00
|
|
|
"type": "array",
|
|
|
|
"items": {
|
|
|
|
"$ref": "#/definitions/environmentAndResources"
|
|
|
|
}
|
2023-05-16 17:51:03 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
2023-05-11 20:35:49 +02:00
|
|
|
"passwordRequirements": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"length": {
|
|
|
|
"type": "integer"
|
|
|
|
},
|
|
|
|
"requireCapital": {
|
|
|
|
"type": "boolean"
|
|
|
|
},
|
|
|
|
"requireNumeric": {
|
|
|
|
"type": "boolean"
|
|
|
|
},
|
|
|
|
"requireSpecial": {
|
|
|
|
"type": "boolean"
|
|
|
|
},
|
|
|
|
"validSpecialCharacters": {
|
|
|
|
"type": "string"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
2022-07-27 20:45:16 +02:00
|
|
|
"principal": {
|
2022-07-28 18:12:50 +02:00
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
2022-12-01 20:48:23 +01:00
|
|
|
"admin": {
|
|
|
|
"type": "boolean"
|
|
|
|
},
|
2022-09-09 16:20:05 +02:00
|
|
|
"email": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
2022-07-28 18:12:50 +02:00
|
|
|
"id": {
|
|
|
|
"type": "integer"
|
|
|
|
},
|
2023-01-13 19:16:10 +01:00
|
|
|
"limitless": {
|
|
|
|
"type": "boolean"
|
|
|
|
},
|
2022-07-28 18:12:50 +02:00
|
|
|
"token": {
|
|
|
|
"type": "string"
|
|
|
|
}
|
|
|
|
}
|
2022-07-27 20:45:16 +02:00
|
|
|
},
|
2022-12-02 15:30:06 +01:00
|
|
|
"publicFrontend": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
2022-12-02 16:46:53 +01:00
|
|
|
"createdAt": {
|
2022-12-02 15:30:06 +01:00
|
|
|
"type": "integer"
|
|
|
|
},
|
2022-12-02 16:46:53 +01:00
|
|
|
"publicName": {
|
2022-12-02 15:30:06 +01:00
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"token": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
2022-12-02 16:46:53 +01:00
|
|
|
"updatedAt": {
|
2022-12-02 15:30:06 +01:00
|
|
|
"type": "integer"
|
|
|
|
},
|
2022-12-02 16:46:53 +01:00
|
|
|
"urlTemplate": {
|
2022-12-02 15:30:06 +01:00
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"zId": {
|
|
|
|
"type": "string"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"publicFrontendList": {
|
|
|
|
"type": "array",
|
|
|
|
"items": {
|
|
|
|
"$ref": "#/definitions/publicFrontend"
|
|
|
|
}
|
|
|
|
},
|
2022-09-20 19:42:34 +02:00
|
|
|
"registerRequest": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"password": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"token": {
|
|
|
|
"type": "string"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
2022-09-20 22:01:46 +02:00
|
|
|
"registerResponse": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"token": {
|
|
|
|
"type": "string"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
2023-01-18 20:05:10 +01:00
|
|
|
"resetPasswordRequest": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"password": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"token": {
|
|
|
|
"type": "string"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
2023-01-04 19:43:37 +01:00
|
|
|
"share": {
|
2022-11-30 17:17:09 +01:00
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
2023-05-11 21:41:21 +02:00
|
|
|
"activity": {
|
|
|
|
"$ref": "#/definitions/sparkData"
|
|
|
|
},
|
2022-11-30 17:17:09 +01:00
|
|
|
"backendMode": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"backendProxyEndpoint": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
2022-12-01 18:54:14 +01:00
|
|
|
"createdAt": {
|
|
|
|
"type": "integer"
|
|
|
|
},
|
2022-11-30 17:17:09 +01:00
|
|
|
"frontendEndpoint": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"frontendSelection": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
2023-05-15 20:14:52 +02:00
|
|
|
"limited": {
|
|
|
|
"type": "boolean"
|
2022-12-01 18:54:14 +01:00
|
|
|
},
|
2022-11-30 17:17:09 +01:00
|
|
|
"reserved": {
|
|
|
|
"type": "boolean"
|
|
|
|
},
|
|
|
|
"shareMode": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"token": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
2022-12-01 18:54:14 +01:00
|
|
|
"updatedAt": {
|
|
|
|
"type": "integer"
|
|
|
|
},
|
2022-11-30 17:17:09 +01:00
|
|
|
"zId": {
|
|
|
|
"type": "string"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
2022-11-18 21:36:55 +01:00
|
|
|
"shareRequest": {
|
2022-07-26 21:38:35 +02:00
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
2024-03-04 17:59:32 +01:00
|
|
|
"accessGrants": {
|
|
|
|
"type": "array",
|
|
|
|
"items": {
|
|
|
|
"type": "string"
|
|
|
|
}
|
|
|
|
},
|
2022-08-16 17:46:54 +02:00
|
|
|
"authScheme": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"authUsers": {
|
|
|
|
"type": "array",
|
|
|
|
"items": {
|
|
|
|
"$ref": "#/definitions/authUser"
|
|
|
|
}
|
|
|
|
},
|
2022-11-18 21:48:13 +01:00
|
|
|
"backendMode": {
|
|
|
|
"type": "string",
|
|
|
|
"enum": [
|
|
|
|
"proxy",
|
|
|
|
"web",
|
2023-05-01 18:19:06 +02:00
|
|
|
"tcpTunnel",
|
2023-08-28 20:49:20 +02:00
|
|
|
"udpTunnel",
|
2023-10-17 19:05:55 +02:00
|
|
|
"caddy",
|
2024-02-08 19:11:19 +01:00
|
|
|
"drive",
|
2024-04-08 19:07:58 +02:00
|
|
|
"socks",
|
|
|
|
"vpn"
|
2022-11-18 21:48:13 +01:00
|
|
|
]
|
|
|
|
},
|
|
|
|
"backendProxyEndpoint": {
|
2022-07-26 21:38:35 +02:00
|
|
|
"type": "string"
|
|
|
|
},
|
2022-11-29 22:41:18 +01:00
|
|
|
"envZId": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
2022-11-18 21:48:13 +01:00
|
|
|
"frontendSelection": {
|
|
|
|
"type": "array",
|
|
|
|
"items": {
|
|
|
|
"type": "string"
|
|
|
|
}
|
|
|
|
},
|
2023-09-05 16:55:55 +02:00
|
|
|
"oauthAuthorizationCheckInterval": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
2023-02-22 16:37:07 +01:00
|
|
|
"oauthEmailDomains": {
|
|
|
|
"type": "array",
|
|
|
|
"items": {
|
|
|
|
"type": "string"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"oauthProvider": {
|
|
|
|
"type": "string",
|
|
|
|
"enum": [
|
2023-09-05 16:55:55 +02:00
|
|
|
"github",
|
|
|
|
"google"
|
2023-02-22 16:37:07 +01:00
|
|
|
]
|
|
|
|
},
|
2024-03-04 17:59:32 +01:00
|
|
|
"permissionMode": {
|
|
|
|
"type": "string",
|
|
|
|
"enum": [
|
|
|
|
"open",
|
|
|
|
"closed"
|
|
|
|
]
|
|
|
|
},
|
2022-11-30 19:45:57 +01:00
|
|
|
"reserved": {
|
|
|
|
"type": "boolean"
|
|
|
|
},
|
2022-11-18 21:48:13 +01:00
|
|
|
"shareMode": {
|
|
|
|
"type": "string",
|
|
|
|
"enum": [
|
|
|
|
"public",
|
|
|
|
"private"
|
|
|
|
]
|
2023-12-07 20:26:03 +01:00
|
|
|
},
|
|
|
|
"uniqueName": {
|
|
|
|
"type": "string"
|
2022-07-26 21:38:35 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
2022-11-18 21:36:55 +01:00
|
|
|
"shareResponse": {
|
2022-07-26 21:38:35 +02:00
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
2022-12-06 18:00:25 +01:00
|
|
|
"frontendProxyEndpoints": {
|
|
|
|
"type": "array",
|
|
|
|
"items": {
|
|
|
|
"type": "string"
|
|
|
|
}
|
2022-08-09 17:49:40 +02:00
|
|
|
},
|
2023-01-04 19:43:37 +01:00
|
|
|
"shrToken": {
|
2022-07-26 21:38:35 +02:00
|
|
|
"type": "string"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
2023-01-04 19:43:37 +01:00
|
|
|
"shares": {
|
|
|
|
"type": "array",
|
|
|
|
"items": {
|
|
|
|
"$ref": "#/definitions/share"
|
|
|
|
}
|
|
|
|
},
|
2023-05-11 21:21:10 +02:00
|
|
|
"sparkData": {
|
|
|
|
"type": "array",
|
|
|
|
"items": {
|
|
|
|
"$ref": "#/definitions/sparkDataSample"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"sparkDataSample": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"rx": {
|
|
|
|
"type": "number"
|
|
|
|
},
|
|
|
|
"tx": {
|
|
|
|
"type": "number"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
2022-11-23 18:12:11 +01:00
|
|
|
"unaccessRequest": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
2022-11-30 18:46:19 +01:00
|
|
|
"envZId": {
|
2022-11-28 19:55:53 +01:00
|
|
|
"type": "string"
|
|
|
|
},
|
2022-11-30 18:46:19 +01:00
|
|
|
"frontendToken": {
|
2022-11-23 18:12:11 +01:00
|
|
|
"type": "string"
|
|
|
|
},
|
2023-01-04 19:43:37 +01:00
|
|
|
"shrToken": {
|
2022-11-23 18:12:11 +01:00
|
|
|
"type": "string"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
2022-11-18 21:36:55 +01:00
|
|
|
"unshareRequest": {
|
2022-07-27 17:35:28 +02:00
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
2022-11-30 18:46:19 +01:00
|
|
|
"envZId": {
|
2022-07-27 17:35:28 +02:00
|
|
|
"type": "string"
|
2022-08-03 20:58:11 +02:00
|
|
|
},
|
2022-11-30 19:45:57 +01:00
|
|
|
"reserved": {
|
|
|
|
"type": "boolean"
|
|
|
|
},
|
2023-01-04 19:43:37 +01:00
|
|
|
"shrToken": {
|
2022-08-03 20:58:11 +02:00
|
|
|
"type": "string"
|
2022-07-27 17:35:28 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
2022-12-02 16:46:53 +01:00
|
|
|
"updateFrontendRequest": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"frontendToken": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"publicName": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"urlTemplate": {
|
|
|
|
"type": "string"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
2022-12-02 19:21:05 +01:00
|
|
|
"updateShareRequest": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
2024-03-06 17:57:03 +01:00
|
|
|
"addAccessGrants": {
|
|
|
|
"type": "array",
|
|
|
|
"items": {
|
|
|
|
"type": "string"
|
|
|
|
}
|
|
|
|
},
|
2022-12-02 19:21:05 +01:00
|
|
|
"backendProxyEndpoint": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
2024-03-06 17:57:03 +01:00
|
|
|
"removeAccessGrants": {
|
|
|
|
"type": "array",
|
|
|
|
"items": {
|
|
|
|
"type": "string"
|
|
|
|
}
|
|
|
|
},
|
2023-01-04 19:43:37 +01:00
|
|
|
"shrToken": {
|
2022-12-02 19:21:05 +01:00
|
|
|
"type": "string"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
2022-09-19 21:58:52 +02:00
|
|
|
"verifyRequest": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"token": {
|
|
|
|
"type": "string"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"verifyResponse": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"email": {
|
|
|
|
"type": "string"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
2022-07-22 16:52:36 +02:00
|
|
|
"version": {
|
2022-07-27 20:45:16 +02:00
|
|
|
"type": "string"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"securityDefinitions": {
|
|
|
|
"key": {
|
|
|
|
"type": "apiKey",
|
|
|
|
"name": "x-token",
|
|
|
|
"in": "header"
|
2022-07-22 16:52:36 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}`))
|
|
|
|
FlatSwaggerJSON = json.RawMessage([]byte(`{
|
|
|
|
"consumes": [
|
2022-07-22 17:45:37 +02:00
|
|
|
"application/zrok.v1+json"
|
2022-07-22 16:52:36 +02:00
|
|
|
],
|
|
|
|
"produces": [
|
2022-07-22 17:45:37 +02:00
|
|
|
"application/zrok.v1+json"
|
2022-07-22 16:52:36 +02:00
|
|
|
],
|
|
|
|
"schemes": [
|
|
|
|
"http"
|
|
|
|
],
|
|
|
|
"swagger": "2.0",
|
|
|
|
"info": {
|
2022-07-22 17:16:30 +02:00
|
|
|
"description": "zrok client access",
|
|
|
|
"title": "zrok",
|
2022-11-30 17:43:00 +01:00
|
|
|
"version": "0.3.0"
|
2022-07-22 16:52:36 +02:00
|
|
|
},
|
2022-08-02 15:26:06 +02:00
|
|
|
"basePath": "/api/v1",
|
2022-07-22 16:52:36 +02:00
|
|
|
"paths": {
|
2022-11-23 18:12:11 +01:00
|
|
|
"/access": {
|
|
|
|
"post": {
|
|
|
|
"security": [
|
|
|
|
{
|
|
|
|
"key": []
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"tags": [
|
2023-01-04 19:43:37 +01:00
|
|
|
"share"
|
2022-11-23 18:12:11 +01:00
|
|
|
],
|
|
|
|
"operationId": "access",
|
|
|
|
"parameters": [
|
|
|
|
{
|
|
|
|
"name": "body",
|
|
|
|
"in": "body",
|
|
|
|
"schema": {
|
|
|
|
"$ref": "#/definitions/accessRequest"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"responses": {
|
|
|
|
"201": {
|
2022-11-28 19:33:59 +01:00
|
|
|
"description": "access created",
|
|
|
|
"schema": {
|
|
|
|
"$ref": "#/definitions/accessResponse"
|
|
|
|
}
|
2022-11-23 18:12:11 +01:00
|
|
|
},
|
|
|
|
"401": {
|
|
|
|
"description": "unauthorized"
|
|
|
|
},
|
2022-11-23 18:24:35 +01:00
|
|
|
"404": {
|
|
|
|
"description": "not found"
|
2022-12-22 19:51:29 +01:00
|
|
|
},
|
|
|
|
"500": {
|
|
|
|
"description": "internal server error"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
2024-08-19 17:33:15 +02:00
|
|
|
"/account": {
|
|
|
|
"post": {
|
|
|
|
"security": [
|
|
|
|
{
|
|
|
|
"key": []
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"tags": [
|
|
|
|
"admin"
|
|
|
|
],
|
|
|
|
"operationId": "createAccount",
|
|
|
|
"parameters": [
|
|
|
|
{
|
|
|
|
"name": "body",
|
|
|
|
"in": "body",
|
|
|
|
"schema": {
|
|
|
|
"properties": {
|
|
|
|
"email": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"password": {
|
|
|
|
"type": "string"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"responses": {
|
|
|
|
"201": {
|
|
|
|
"description": "created",
|
|
|
|
"schema": {
|
|
|
|
"properties": {
|
|
|
|
"token": {
|
|
|
|
"type": "string"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"401": {
|
|
|
|
"description": "unauthorized"
|
|
|
|
},
|
|
|
|
"500": {
|
|
|
|
"description": "internal server error"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
2024-01-23 17:20:02 +01:00
|
|
|
"/changePassword": {
|
|
|
|
"post": {
|
2024-02-14 20:18:22 +01:00
|
|
|
"security": [
|
|
|
|
{
|
|
|
|
"key": []
|
|
|
|
}
|
|
|
|
],
|
2024-01-23 17:20:02 +01:00
|
|
|
"tags": [
|
|
|
|
"account"
|
|
|
|
],
|
|
|
|
"operationId": "changePassword",
|
|
|
|
"parameters": [
|
|
|
|
{
|
|
|
|
"name": "body",
|
|
|
|
"in": "body",
|
|
|
|
"schema": {
|
|
|
|
"$ref": "#/definitions/changePasswordRequest"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"responses": {
|
|
|
|
"200": {
|
|
|
|
"description": "changed password"
|
|
|
|
},
|
|
|
|
"400": {
|
|
|
|
"description": "password not changed"
|
|
|
|
},
|
|
|
|
"401": {
|
|
|
|
"description": "unauthorized"
|
|
|
|
},
|
|
|
|
"422": {
|
|
|
|
"description": "password validation failure",
|
|
|
|
"schema": {
|
|
|
|
"$ref": "#/definitions/errorMessage"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"500": {
|
|
|
|
"description": "internal server error"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
2023-01-31 19:44:03 +01:00
|
|
|
"/configuration": {
|
|
|
|
"get": {
|
|
|
|
"tags": [
|
|
|
|
"metadata"
|
|
|
|
],
|
|
|
|
"operationId": "configuration",
|
|
|
|
"responses": {
|
|
|
|
"200": {
|
|
|
|
"description": "current configuration",
|
|
|
|
"schema": {
|
|
|
|
"$ref": "#/definitions/configuration"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
2023-05-12 17:57:34 +02:00
|
|
|
"/detail/account": {
|
|
|
|
"get": {
|
|
|
|
"security": [
|
|
|
|
{
|
|
|
|
"key": []
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"tags": [
|
|
|
|
"metadata"
|
|
|
|
],
|
|
|
|
"operationId": "getAccountDetail",
|
|
|
|
"responses": {
|
|
|
|
"200": {
|
|
|
|
"description": "ok",
|
|
|
|
"schema": {
|
|
|
|
"$ref": "#/definitions/environments"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"500": {
|
|
|
|
"description": "internal server error"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
2022-12-22 20:56:19 +01:00
|
|
|
"/detail/environment/{envZId}": {
|
2022-12-22 19:51:29 +01:00
|
|
|
"get": {
|
|
|
|
"security": [
|
|
|
|
{
|
|
|
|
"key": []
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"tags": [
|
|
|
|
"metadata"
|
|
|
|
],
|
|
|
|
"operationId": "getEnvironmentDetail",
|
|
|
|
"parameters": [
|
|
|
|
{
|
2022-12-22 20:56:19 +01:00
|
|
|
"type": "string",
|
|
|
|
"name": "envZId",
|
|
|
|
"in": "path",
|
|
|
|
"required": true
|
2022-12-22 19:51:29 +01:00
|
|
|
}
|
|
|
|
],
|
|
|
|
"responses": {
|
|
|
|
"200": {
|
|
|
|
"description": "ok",
|
|
|
|
"schema": {
|
2023-05-17 17:23:16 +02:00
|
|
|
"$ref": "#/definitions/environmentAndResources"
|
2022-12-22 19:51:29 +01:00
|
|
|
}
|
|
|
|
},
|
|
|
|
"401": {
|
|
|
|
"description": "unauthorized"
|
|
|
|
},
|
|
|
|
"404": {
|
|
|
|
"description": "not found"
|
2022-12-22 21:09:37 +01:00
|
|
|
},
|
|
|
|
"500": {
|
|
|
|
"description": "internal server error"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
2023-05-17 19:53:18 +02:00
|
|
|
"/detail/frontend/{feId}": {
|
|
|
|
"get": {
|
|
|
|
"security": [
|
|
|
|
{
|
|
|
|
"key": []
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"tags": [
|
|
|
|
"metadata"
|
|
|
|
],
|
|
|
|
"operationId": "getFrontendDetail",
|
|
|
|
"parameters": [
|
|
|
|
{
|
|
|
|
"type": "integer",
|
|
|
|
"name": "feId",
|
|
|
|
"in": "path",
|
|
|
|
"required": true
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"responses": {
|
|
|
|
"200": {
|
|
|
|
"description": "ok",
|
|
|
|
"schema": {
|
|
|
|
"$ref": "#/definitions/frontend"
|
2022-12-22 19:51:29 +01:00
|
|
|
}
|
|
|
|
},
|
|
|
|
"401": {
|
|
|
|
"description": "unauthorized"
|
|
|
|
},
|
|
|
|
"404": {
|
|
|
|
"description": "not found"
|
2022-12-22 21:09:37 +01:00
|
|
|
},
|
|
|
|
"500": {
|
|
|
|
"description": "internal server error"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
2023-01-04 19:43:37 +01:00
|
|
|
"/detail/share/{shrToken}": {
|
2022-12-22 21:09:37 +01:00
|
|
|
"get": {
|
|
|
|
"security": [
|
|
|
|
{
|
|
|
|
"key": []
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"tags": [
|
|
|
|
"metadata"
|
|
|
|
],
|
2023-01-04 19:43:37 +01:00
|
|
|
"operationId": "getShareDetail",
|
2022-12-22 21:09:37 +01:00
|
|
|
"parameters": [
|
|
|
|
{
|
|
|
|
"type": "string",
|
2023-01-04 19:43:37 +01:00
|
|
|
"name": "shrToken",
|
2022-12-22 21:09:37 +01:00
|
|
|
"in": "path",
|
|
|
|
"required": true
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"responses": {
|
|
|
|
"200": {
|
|
|
|
"description": "ok",
|
|
|
|
"schema": {
|
2023-01-04 19:43:37 +01:00
|
|
|
"$ref": "#/definitions/share"
|
2022-12-22 21:09:37 +01:00
|
|
|
}
|
|
|
|
},
|
|
|
|
"401": {
|
|
|
|
"description": "unauthorized"
|
|
|
|
},
|
|
|
|
"404": {
|
|
|
|
"description": "not found"
|
2022-11-23 18:24:35 +01:00
|
|
|
},
|
2022-11-23 18:12:11 +01:00
|
|
|
"500": {
|
|
|
|
"description": "internal server error"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
2022-09-01 23:39:02 +02:00
|
|
|
"/disable": {
|
|
|
|
"post": {
|
|
|
|
"security": [
|
|
|
|
{
|
|
|
|
"key": []
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"tags": [
|
2022-11-30 17:43:00 +01:00
|
|
|
"environment"
|
2022-09-01 23:39:02 +02:00
|
|
|
],
|
|
|
|
"operationId": "disable",
|
|
|
|
"parameters": [
|
|
|
|
{
|
|
|
|
"name": "body",
|
|
|
|
"in": "body",
|
|
|
|
"schema": {
|
|
|
|
"$ref": "#/definitions/disableRequest"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"responses": {
|
|
|
|
"200": {
|
|
|
|
"description": "environment disabled"
|
|
|
|
},
|
|
|
|
"401": {
|
|
|
|
"description": "invalid environment"
|
|
|
|
},
|
|
|
|
"500": {
|
2022-11-30 17:43:00 +01:00
|
|
|
"description": "internal server error"
|
2022-09-01 23:39:02 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
2022-07-25 23:05:44 +02:00
|
|
|
"/enable": {
|
|
|
|
"post": {
|
2022-07-27 20:45:16 +02:00
|
|
|
"security": [
|
|
|
|
{
|
|
|
|
"key": []
|
|
|
|
}
|
|
|
|
],
|
2022-07-25 23:05:44 +02:00
|
|
|
"tags": [
|
2022-11-30 17:43:00 +01:00
|
|
|
"environment"
|
2022-07-25 23:05:44 +02:00
|
|
|
],
|
|
|
|
"operationId": "enable",
|
2022-08-03 20:25:27 +02:00
|
|
|
"parameters": [
|
|
|
|
{
|
|
|
|
"name": "body",
|
|
|
|
"in": "body",
|
|
|
|
"schema": {
|
|
|
|
"$ref": "#/definitions/enableRequest"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
],
|
2022-07-25 23:05:44 +02:00
|
|
|
"responses": {
|
|
|
|
"201": {
|
|
|
|
"description": "environment enabled",
|
|
|
|
"schema": {
|
|
|
|
"$ref": "#/definitions/enableResponse"
|
|
|
|
}
|
|
|
|
},
|
2022-07-27 20:50:46 +02:00
|
|
|
"401": {
|
2022-11-30 17:43:00 +01:00
|
|
|
"description": "unauthorized"
|
2022-07-27 20:50:46 +02:00
|
|
|
},
|
2022-07-26 18:26:58 +02:00
|
|
|
"404": {
|
|
|
|
"description": "account not found"
|
|
|
|
},
|
2022-07-25 23:05:44 +02:00
|
|
|
"500": {
|
2022-11-30 17:43:00 +01:00
|
|
|
"description": "internal server error"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
2022-12-01 21:13:43 +01:00
|
|
|
"/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"
|
|
|
|
}
|
|
|
|
},
|
2023-02-01 20:13:15 +01:00
|
|
|
"400": {
|
|
|
|
"description": "bad request"
|
|
|
|
},
|
2022-12-01 21:13:43 +01:00
|
|
|
"401": {
|
|
|
|
"description": "unauthorized"
|
|
|
|
},
|
2022-12-02 14:44:17 +01:00
|
|
|
"404": {
|
|
|
|
"description": "not found"
|
|
|
|
},
|
2022-12-01 21:13:43 +01:00
|
|
|
"500": {
|
|
|
|
"description": "internal server error"
|
|
|
|
}
|
|
|
|
}
|
2022-12-02 14:58:41 +01:00
|
|
|
},
|
|
|
|
"delete": {
|
|
|
|
"security": [
|
|
|
|
{
|
|
|
|
"key": []
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"tags": [
|
|
|
|
"admin"
|
|
|
|
],
|
|
|
|
"operationId": "deleteFrontend",
|
|
|
|
"parameters": [
|
|
|
|
{
|
|
|
|
"name": "body",
|
|
|
|
"in": "body",
|
|
|
|
"schema": {
|
|
|
|
"$ref": "#/definitions/deleteFrontendRequest"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"responses": {
|
|
|
|
"200": {
|
|
|
|
"description": "frontend deleted"
|
|
|
|
},
|
|
|
|
"401": {
|
|
|
|
"description": "unauthorized"
|
|
|
|
},
|
|
|
|
"404": {
|
|
|
|
"description": "not found"
|
|
|
|
},
|
|
|
|
"500": {
|
|
|
|
"description": "internal server error"
|
|
|
|
}
|
|
|
|
}
|
2022-12-02 16:46:53 +01:00
|
|
|
},
|
|
|
|
"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"
|
|
|
|
}
|
|
|
|
}
|
2022-12-01 21:13:43 +01:00
|
|
|
}
|
|
|
|
},
|
2022-12-02 15:30:06 +01:00
|
|
|
"/frontends": {
|
|
|
|
"get": {
|
|
|
|
"security": [
|
|
|
|
{
|
|
|
|
"key": []
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"tags": [
|
|
|
|
"admin"
|
|
|
|
],
|
|
|
|
"operationId": "listFrontends",
|
|
|
|
"responses": {
|
|
|
|
"200": {
|
|
|
|
"description": "ok",
|
|
|
|
"schema": {
|
|
|
|
"$ref": "#/definitions/publicFrontendList"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"401": {
|
|
|
|
"description": "unauthorized"
|
|
|
|
},
|
|
|
|
"500": {
|
|
|
|
"description": "internal server error"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
2022-12-06 20:06:12 +01:00
|
|
|
"/identity": {
|
|
|
|
"post": {
|
|
|
|
"security": [
|
|
|
|
{
|
|
|
|
"key": []
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"tags": [
|
|
|
|
"admin"
|
|
|
|
],
|
|
|
|
"operationId": "createIdentity",
|
|
|
|
"parameters": [
|
|
|
|
{
|
|
|
|
"name": "body",
|
|
|
|
"in": "body",
|
|
|
|
"schema": {
|
|
|
|
"properties": {
|
|
|
|
"name": {
|
|
|
|
"type": "string"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"responses": {
|
|
|
|
"201": {
|
|
|
|
"description": "created",
|
|
|
|
"schema": {
|
|
|
|
"properties": {
|
|
|
|
"cfg": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"identity": {
|
|
|
|
"type": "string"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"401": {
|
|
|
|
"description": "unauthorized"
|
|
|
|
},
|
|
|
|
"500": {
|
|
|
|
"description": "internal server error"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
2022-11-30 17:43:00 +01:00
|
|
|
"/invite": {
|
|
|
|
"post": {
|
|
|
|
"tags": [
|
|
|
|
"account"
|
|
|
|
],
|
|
|
|
"operationId": "invite",
|
|
|
|
"parameters": [
|
|
|
|
{
|
|
|
|
"name": "body",
|
|
|
|
"in": "body",
|
2022-07-27 19:38:35 +02:00
|
|
|
"schema": {
|
2022-11-30 17:43:00 +01:00
|
|
|
"$ref": "#/definitions/inviteRequest"
|
2022-07-27 19:38:35 +02:00
|
|
|
}
|
2022-07-25 23:05:44 +02:00
|
|
|
}
|
2022-11-30 17:43:00 +01:00
|
|
|
],
|
|
|
|
"responses": {
|
|
|
|
"201": {
|
|
|
|
"description": "invitation created"
|
|
|
|
},
|
|
|
|
"400": {
|
2023-02-08 02:06:35 +01:00
|
|
|
"description": "invitation not created (already exists)",
|
|
|
|
"schema": {
|
|
|
|
"$ref": "#/definitions/errorMessage"
|
|
|
|
}
|
2022-11-30 17:43:00 +01:00
|
|
|
},
|
2023-01-19 21:40:41 +01:00
|
|
|
"401": {
|
|
|
|
"description": "unauthorized"
|
|
|
|
},
|
2022-11-30 17:43:00 +01:00
|
|
|
"500": {
|
|
|
|
"description": "internal server error"
|
|
|
|
}
|
2022-07-25 23:05:44 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
2023-01-10 19:26:22 +01:00
|
|
|
"/invite/token/generate": {
|
2023-01-09 18:00:37 +01:00
|
|
|
"post": {
|
2023-01-10 16:53:41 +01:00
|
|
|
"security": [
|
|
|
|
{
|
|
|
|
"key": []
|
|
|
|
}
|
|
|
|
],
|
2023-01-09 18:00:37 +01:00
|
|
|
"tags": [
|
2023-01-10 16:53:41 +01:00
|
|
|
"admin"
|
2023-01-09 18:00:37 +01:00
|
|
|
],
|
2023-01-10 19:26:22 +01:00
|
|
|
"operationId": "inviteTokenGenerate",
|
2023-01-09 18:00:37 +01:00
|
|
|
"parameters": [
|
|
|
|
{
|
|
|
|
"name": "body",
|
|
|
|
"in": "body",
|
|
|
|
"schema": {
|
2023-01-10 19:26:22 +01:00
|
|
|
"$ref": "#/definitions/inviteTokenGenerateRequest"
|
2023-01-09 18:00:37 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"responses": {
|
|
|
|
"201": {
|
|
|
|
"description": "invitation tokens created"
|
|
|
|
},
|
|
|
|
"400": {
|
|
|
|
"description": "invitation tokens not created"
|
|
|
|
},
|
2023-01-10 16:53:41 +01:00
|
|
|
"401": {
|
|
|
|
"description": "unauthorized"
|
|
|
|
},
|
2023-01-09 18:00:37 +01:00
|
|
|
"500": {
|
|
|
|
"description": "internal server error"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
2022-08-02 19:23:31 +02:00
|
|
|
"/login": {
|
|
|
|
"post": {
|
|
|
|
"tags": [
|
2022-11-30 17:43:00 +01:00
|
|
|
"account"
|
2022-08-02 19:23:31 +02:00
|
|
|
],
|
|
|
|
"operationId": "login",
|
|
|
|
"parameters": [
|
|
|
|
{
|
|
|
|
"name": "body",
|
|
|
|
"in": "body",
|
|
|
|
"schema": {
|
|
|
|
"$ref": "#/definitions/loginRequest"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"responses": {
|
|
|
|
"200": {
|
|
|
|
"description": "login successful",
|
|
|
|
"schema": {
|
|
|
|
"$ref": "#/definitions/loginResponse"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"401": {
|
|
|
|
"description": "invalid login"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
2023-05-08 20:33:15 +02:00
|
|
|
"/metrics/account": {
|
|
|
|
"get": {
|
|
|
|
"security": [
|
|
|
|
{
|
|
|
|
"key": []
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"tags": [
|
2023-05-09 20:16:01 +02:00
|
|
|
"metadata"
|
2023-05-08 20:33:15 +02:00
|
|
|
],
|
|
|
|
"operationId": "getAccountMetrics",
|
2023-05-09 17:36:53 +02:00
|
|
|
"parameters": [
|
|
|
|
{
|
2023-05-09 20:16:01 +02:00
|
|
|
"type": "string",
|
2023-05-09 17:36:53 +02:00
|
|
|
"name": "duration",
|
|
|
|
"in": "query"
|
|
|
|
}
|
|
|
|
],
|
2023-05-08 20:33:15 +02:00
|
|
|
"responses": {
|
|
|
|
"200": {
|
|
|
|
"description": "account metrics",
|
|
|
|
"schema": {
|
|
|
|
"$ref": "#/definitions/metrics"
|
|
|
|
}
|
2023-05-09 20:16:01 +02:00
|
|
|
},
|
|
|
|
"400": {
|
|
|
|
"description": "bad request"
|
|
|
|
},
|
|
|
|
"500": {
|
|
|
|
"description": "internal server error"
|
2023-05-08 20:33:15 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"/metrics/environment/{envId}": {
|
|
|
|
"get": {
|
|
|
|
"security": [
|
|
|
|
{
|
|
|
|
"key": []
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"tags": [
|
2023-05-09 20:16:01 +02:00
|
|
|
"metadata"
|
2023-05-08 20:33:15 +02:00
|
|
|
],
|
|
|
|
"operationId": "getEnvironmentMetrics",
|
|
|
|
"parameters": [
|
|
|
|
{
|
2023-05-10 20:51:46 +02:00
|
|
|
"type": "string",
|
2023-05-08 20:33:15 +02:00
|
|
|
"name": "envId",
|
|
|
|
"in": "path",
|
|
|
|
"required": true
|
2023-05-09 17:36:53 +02:00
|
|
|
},
|
|
|
|
{
|
2023-05-09 20:16:01 +02:00
|
|
|
"type": "string",
|
2023-05-09 17:36:53 +02:00
|
|
|
"name": "duration",
|
|
|
|
"in": "query"
|
2023-05-08 20:33:15 +02:00
|
|
|
}
|
|
|
|
],
|
|
|
|
"responses": {
|
|
|
|
"200": {
|
|
|
|
"description": "environment metrics",
|
|
|
|
"schema": {
|
|
|
|
"$ref": "#/definitions/metrics"
|
|
|
|
}
|
|
|
|
},
|
2023-05-09 22:36:50 +02:00
|
|
|
"400": {
|
|
|
|
"description": "bad request"
|
|
|
|
},
|
2023-05-08 20:33:15 +02:00
|
|
|
"401": {
|
|
|
|
"description": "unauthorized"
|
2023-05-09 22:36:50 +02:00
|
|
|
},
|
|
|
|
"500": {
|
|
|
|
"description": "internal server error"
|
2023-05-08 20:33:15 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"/metrics/share/{shrToken}": {
|
|
|
|
"get": {
|
|
|
|
"security": [
|
|
|
|
{
|
|
|
|
"key": []
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"tags": [
|
2023-05-09 20:16:01 +02:00
|
|
|
"metadata"
|
2023-05-08 20:33:15 +02:00
|
|
|
],
|
|
|
|
"operationId": "getShareMetrics",
|
|
|
|
"parameters": [
|
|
|
|
{
|
|
|
|
"type": "string",
|
|
|
|
"name": "shrToken",
|
|
|
|
"in": "path",
|
|
|
|
"required": true
|
2023-05-09 17:36:53 +02:00
|
|
|
},
|
|
|
|
{
|
2023-05-09 20:16:01 +02:00
|
|
|
"type": "string",
|
2023-05-09 17:36:53 +02:00
|
|
|
"name": "duration",
|
|
|
|
"in": "query"
|
2023-05-08 20:33:15 +02:00
|
|
|
}
|
|
|
|
],
|
|
|
|
"responses": {
|
|
|
|
"200": {
|
|
|
|
"description": "share metrics",
|
|
|
|
"schema": {
|
|
|
|
"$ref": "#/definitions/metrics"
|
|
|
|
}
|
|
|
|
},
|
2023-05-09 22:36:50 +02:00
|
|
|
"400": {
|
|
|
|
"description": "bad request"
|
|
|
|
},
|
2023-05-08 20:33:15 +02:00
|
|
|
"401": {
|
|
|
|
"description": "unauthorized"
|
2023-05-09 22:36:50 +02:00
|
|
|
},
|
|
|
|
"500": {
|
|
|
|
"description": "internal server error"
|
2023-05-08 20:33:15 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
2022-08-03 20:36:40 +02:00
|
|
|
"/overview": {
|
|
|
|
"get": {
|
2022-08-03 20:58:11 +02:00
|
|
|
"security": [
|
|
|
|
{
|
|
|
|
"key": []
|
|
|
|
}
|
|
|
|
],
|
2022-08-03 20:36:40 +02:00
|
|
|
"tags": [
|
|
|
|
"metadata"
|
|
|
|
],
|
|
|
|
"operationId": "overview",
|
|
|
|
"responses": {
|
|
|
|
"200": {
|
|
|
|
"description": "overview returned",
|
|
|
|
"schema": {
|
2023-05-16 17:51:03 +02:00
|
|
|
"$ref": "#/definitions/overview"
|
2022-08-03 20:36:40 +02:00
|
|
|
}
|
|
|
|
},
|
|
|
|
"500": {
|
|
|
|
"description": "internal server error",
|
|
|
|
"schema": {
|
|
|
|
"$ref": "#/definitions/errorMessage"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
2024-02-20 17:40:11 +01:00
|
|
|
"/regenerateToken": {
|
|
|
|
"post": {
|
|
|
|
"security": [
|
|
|
|
{
|
|
|
|
"key": []
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"tags": [
|
|
|
|
"account"
|
|
|
|
],
|
|
|
|
"operationId": "regenerateToken",
|
|
|
|
"parameters": [
|
|
|
|
{
|
|
|
|
"name": "body",
|
|
|
|
"in": "body",
|
|
|
|
"schema": {
|
|
|
|
"properties": {
|
|
|
|
"emailAddress": {
|
|
|
|
"type": "string"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"responses": {
|
|
|
|
"200": {
|
|
|
|
"description": "regenerate account token",
|
|
|
|
"schema": {
|
|
|
|
"properties": {
|
|
|
|
"token": {
|
|
|
|
"type": "string"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"404": {
|
|
|
|
"description": "account not found"
|
|
|
|
},
|
|
|
|
"500": {
|
|
|
|
"description": "internal server error"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
2022-09-20 19:42:34 +02:00
|
|
|
"/register": {
|
|
|
|
"post": {
|
|
|
|
"tags": [
|
2022-11-30 17:43:00 +01:00
|
|
|
"account"
|
2022-09-20 19:42:34 +02:00
|
|
|
],
|
|
|
|
"operationId": "register",
|
|
|
|
"parameters": [
|
|
|
|
{
|
|
|
|
"name": "body",
|
|
|
|
"in": "body",
|
|
|
|
"schema": {
|
|
|
|
"$ref": "#/definitions/registerRequest"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"responses": {
|
|
|
|
"200": {
|
2022-09-20 22:01:46 +02:00
|
|
|
"description": "account created",
|
|
|
|
"schema": {
|
|
|
|
"$ref": "#/definitions/registerResponse"
|
|
|
|
}
|
2022-09-20 19:42:34 +02:00
|
|
|
},
|
|
|
|
"404": {
|
|
|
|
"description": "request not found"
|
|
|
|
},
|
2023-05-11 20:35:49 +02:00
|
|
|
"422": {
|
|
|
|
"description": "password validation failure",
|
|
|
|
"schema": {
|
|
|
|
"$ref": "#/definitions/errorMessage"
|
|
|
|
}
|
|
|
|
},
|
2022-09-20 19:42:34 +02:00
|
|
|
"500": {
|
2022-11-30 17:43:00 +01:00
|
|
|
"description": "internal server error"
|
2022-09-20 19:42:34 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
2023-01-18 20:05:10 +01:00
|
|
|
"/resetPassword": {
|
|
|
|
"post": {
|
|
|
|
"tags": [
|
|
|
|
"account"
|
|
|
|
],
|
|
|
|
"operationId": "resetPassword",
|
|
|
|
"parameters": [
|
|
|
|
{
|
|
|
|
"name": "body",
|
|
|
|
"in": "body",
|
|
|
|
"schema": {
|
|
|
|
"$ref": "#/definitions/resetPasswordRequest"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"responses": {
|
|
|
|
"200": {
|
|
|
|
"description": "password reset"
|
|
|
|
},
|
|
|
|
"404": {
|
|
|
|
"description": "request not found"
|
|
|
|
},
|
2023-05-11 20:35:49 +02:00
|
|
|
"422": {
|
|
|
|
"description": "password validation failure",
|
|
|
|
"schema": {
|
|
|
|
"$ref": "#/definitions/errorMessage"
|
|
|
|
}
|
|
|
|
},
|
2023-01-18 20:05:10 +01:00
|
|
|
"500": {
|
|
|
|
"description": "internal server error"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
2023-01-20 18:08:40 +01:00
|
|
|
"/resetPasswordRequest": {
|
|
|
|
"post": {
|
|
|
|
"tags": [
|
|
|
|
"account"
|
|
|
|
],
|
|
|
|
"operationId": "resetPasswordRequest",
|
|
|
|
"parameters": [
|
|
|
|
{
|
|
|
|
"name": "body",
|
|
|
|
"in": "body",
|
|
|
|
"schema": {
|
|
|
|
"properties": {
|
|
|
|
"emailAddress": {
|
|
|
|
"type": "string"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"responses": {
|
|
|
|
"201": {
|
|
|
|
"description": "forgot password request created"
|
|
|
|
},
|
|
|
|
"400": {
|
|
|
|
"description": "forgot password request not created"
|
|
|
|
},
|
|
|
|
"500": {
|
|
|
|
"description": "internal server error"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
2022-11-18 21:36:55 +01:00
|
|
|
"/share": {
|
2022-07-26 21:38:35 +02:00
|
|
|
"post": {
|
2022-07-28 20:32:49 +02:00
|
|
|
"security": [
|
|
|
|
{
|
|
|
|
"key": []
|
|
|
|
}
|
|
|
|
],
|
2022-07-26 21:38:35 +02:00
|
|
|
"tags": [
|
2023-01-04 19:43:37 +01:00
|
|
|
"share"
|
2022-07-26 21:38:35 +02:00
|
|
|
],
|
2022-11-18 21:36:55 +01:00
|
|
|
"operationId": "share",
|
2022-07-26 21:38:35 +02:00
|
|
|
"parameters": [
|
|
|
|
{
|
|
|
|
"name": "body",
|
|
|
|
"in": "body",
|
|
|
|
"schema": {
|
2022-11-18 21:36:55 +01:00
|
|
|
"$ref": "#/definitions/shareRequest"
|
2022-07-26 21:38:35 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"responses": {
|
|
|
|
"201": {
|
2023-01-04 19:43:37 +01:00
|
|
|
"description": "share created",
|
2022-07-26 21:38:35 +02:00
|
|
|
"schema": {
|
2022-11-18 21:36:55 +01:00
|
|
|
"$ref": "#/definitions/shareResponse"
|
2022-07-26 21:38:35 +02:00
|
|
|
}
|
2022-07-27 19:17:47 +02:00
|
|
|
},
|
2022-08-01 21:44:26 +02:00
|
|
|
"401": {
|
2022-11-18 21:36:55 +01:00
|
|
|
"description": "unauthorized"
|
2022-08-01 21:44:26 +02:00
|
|
|
},
|
2022-12-06 18:00:25 +01:00
|
|
|
"404": {
|
|
|
|
"description": "not found"
|
|
|
|
},
|
2024-01-24 16:48:27 +01:00
|
|
|
"409": {
|
|
|
|
"description": "conflict"
|
|
|
|
},
|
2023-02-22 16:37:07 +01:00
|
|
|
"422": {
|
2023-09-21 18:57:14 +02:00
|
|
|
"description": "unprocessable"
|
2023-02-22 16:37:07 +01:00
|
|
|
},
|
2022-07-27 19:17:47 +02:00
|
|
|
"500": {
|
2022-07-27 19:38:35 +02:00
|
|
|
"description": "internal server error",
|
|
|
|
"schema": {
|
|
|
|
"$ref": "#/definitions/errorMessage"
|
|
|
|
}
|
2022-07-26 21:38:35 +02:00
|
|
|
}
|
|
|
|
}
|
2022-12-02 19:21:05 +01:00
|
|
|
},
|
|
|
|
"patch": {
|
|
|
|
"security": [
|
|
|
|
{
|
|
|
|
"key": []
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"tags": [
|
2023-01-04 19:43:37 +01:00
|
|
|
"share"
|
2022-12-02 19:21:05 +01:00
|
|
|
],
|
|
|
|
"operationId": "updateShare",
|
|
|
|
"parameters": [
|
|
|
|
{
|
|
|
|
"name": "body",
|
|
|
|
"in": "body",
|
|
|
|
"schema": {
|
|
|
|
"$ref": "#/definitions/updateShareRequest"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"responses": {
|
|
|
|
"200": {
|
2023-01-04 19:43:37 +01:00
|
|
|
"description": "share updated"
|
2022-12-02 19:21:05 +01:00
|
|
|
},
|
2024-03-06 17:57:03 +01:00
|
|
|
"400": {
|
|
|
|
"description": "bad request"
|
|
|
|
},
|
2022-12-02 19:21:05 +01:00
|
|
|
"401": {
|
|
|
|
"description": "unauthorized"
|
|
|
|
},
|
|
|
|
"404": {
|
|
|
|
"description": "not found"
|
|
|
|
},
|
|
|
|
"500": {
|
|
|
|
"description": "internal server error"
|
|
|
|
}
|
|
|
|
}
|
2022-07-26 21:38:35 +02:00
|
|
|
}
|
|
|
|
},
|
2022-11-23 18:12:11 +01:00
|
|
|
"/unaccess": {
|
|
|
|
"delete": {
|
|
|
|
"security": [
|
|
|
|
{
|
|
|
|
"key": []
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"tags": [
|
2023-01-04 19:43:37 +01:00
|
|
|
"share"
|
2022-11-23 18:12:11 +01:00
|
|
|
],
|
|
|
|
"operationId": "unaccess",
|
|
|
|
"parameters": [
|
|
|
|
{
|
|
|
|
"name": "body",
|
|
|
|
"in": "body",
|
|
|
|
"schema": {
|
|
|
|
"$ref": "#/definitions/unaccessRequest"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"responses": {
|
|
|
|
"200": {
|
|
|
|
"description": "access removed"
|
|
|
|
},
|
|
|
|
"401": {
|
|
|
|
"description": "unauthorized"
|
|
|
|
},
|
|
|
|
"404": {
|
|
|
|
"description": "not found"
|
|
|
|
},
|
|
|
|
"500": {
|
|
|
|
"description": "internal server error"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
2022-11-18 21:36:55 +01:00
|
|
|
"/unshare": {
|
2022-07-27 17:35:28 +02:00
|
|
|
"delete": {
|
2022-07-28 20:32:49 +02:00
|
|
|
"security": [
|
|
|
|
{
|
|
|
|
"key": []
|
|
|
|
}
|
|
|
|
],
|
2022-07-27 17:35:28 +02:00
|
|
|
"tags": [
|
2023-01-04 19:43:37 +01:00
|
|
|
"share"
|
2022-07-27 17:35:28 +02:00
|
|
|
],
|
2022-11-18 21:36:55 +01:00
|
|
|
"operationId": "unshare",
|
2022-07-27 17:35:28 +02:00
|
|
|
"parameters": [
|
|
|
|
{
|
|
|
|
"name": "body",
|
|
|
|
"in": "body",
|
|
|
|
"schema": {
|
2022-11-18 21:36:55 +01:00
|
|
|
"$ref": "#/definitions/unshareRequest"
|
2022-07-27 17:35:28 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"responses": {
|
|
|
|
"200": {
|
2023-01-04 19:43:37 +01:00
|
|
|
"description": "share removed"
|
2022-11-18 21:36:55 +01:00
|
|
|
},
|
|
|
|
"401": {
|
|
|
|
"description": "unauthorized"
|
2022-07-27 17:35:28 +02:00
|
|
|
},
|
2022-08-01 21:44:26 +02:00
|
|
|
"404": {
|
2022-11-18 21:36:55 +01:00
|
|
|
"description": "not found"
|
2022-08-01 21:44:26 +02:00
|
|
|
},
|
2022-07-27 17:35:28 +02:00
|
|
|
"500": {
|
2022-07-27 19:38:35 +02:00
|
|
|
"description": "internal server error",
|
|
|
|
"schema": {
|
|
|
|
"$ref": "#/definitions/errorMessage"
|
|
|
|
}
|
2022-07-27 17:35:28 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
2022-09-19 21:58:52 +02:00
|
|
|
"/verify": {
|
2022-09-19 22:26:54 +02:00
|
|
|
"post": {
|
2022-09-19 21:58:52 +02:00
|
|
|
"tags": [
|
2022-11-30 17:43:00 +01:00
|
|
|
"account"
|
2022-09-19 21:58:52 +02:00
|
|
|
],
|
|
|
|
"operationId": "verify",
|
|
|
|
"parameters": [
|
|
|
|
{
|
|
|
|
"name": "body",
|
|
|
|
"in": "body",
|
|
|
|
"schema": {
|
|
|
|
"$ref": "#/definitions/verifyRequest"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"responses": {
|
|
|
|
"200": {
|
|
|
|
"description": "token ready",
|
|
|
|
"schema": {
|
|
|
|
"$ref": "#/definitions/verifyResponse"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"404": {
|
|
|
|
"description": "token not found"
|
|
|
|
},
|
|
|
|
"500": {
|
2022-11-30 17:43:00 +01:00
|
|
|
"description": "internal server error"
|
2022-09-19 21:58:52 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
2022-07-25 17:51:23 +02:00
|
|
|
"/version": {
|
|
|
|
"get": {
|
|
|
|
"tags": [
|
|
|
|
"metadata"
|
|
|
|
],
|
|
|
|
"operationId": "version",
|
|
|
|
"responses": {
|
|
|
|
"200": {
|
2022-09-19 21:58:52 +02:00
|
|
|
"description": "current server version",
|
2022-07-25 17:51:23 +02:00
|
|
|
"schema": {
|
|
|
|
"$ref": "#/definitions/version"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2022-07-22 16:52:36 +02:00
|
|
|
}
|
|
|
|
},
|
|
|
|
"definitions": {
|
2022-11-23 18:12:11 +01:00
|
|
|
"accessRequest": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
2022-11-30 18:46:19 +01:00
|
|
|
"envZId": {
|
2022-11-23 18:12:11 +01:00
|
|
|
"type": "string"
|
|
|
|
},
|
2023-01-04 19:43:37 +01:00
|
|
|
"shrToken": {
|
2022-11-23 18:12:11 +01:00
|
|
|
"type": "string"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
2022-11-28 19:33:59 +01:00
|
|
|
"accessResponse": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
2023-05-01 18:19:06 +02:00
|
|
|
"backendMode": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
2022-11-30 18:46:19 +01:00
|
|
|
"frontendToken": {
|
2022-11-28 19:33:59 +01:00
|
|
|
"type": "string"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
2022-08-16 17:46:54 +02:00
|
|
|
"authUser": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"password": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"username": {
|
|
|
|
"type": "string"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
2024-01-23 17:20:02 +01:00
|
|
|
"changePasswordRequest": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"email": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"newPassword": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"oldPassword": {
|
|
|
|
"type": "string"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
2023-01-31 19:44:03 +01:00
|
|
|
"configuration": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
2023-05-22 21:42:20 +02:00
|
|
|
"inviteTokenContact": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"invitesOpen": {
|
|
|
|
"type": "boolean"
|
|
|
|
},
|
2023-05-11 20:35:49 +02:00
|
|
|
"passwordRequirements": {
|
|
|
|
"$ref": "#/definitions/passwordRequirements"
|
|
|
|
},
|
2023-05-22 21:42:20 +02:00
|
|
|
"requiresInviteToken": {
|
2023-04-12 01:41:40 +02:00
|
|
|
"type": "boolean"
|
|
|
|
},
|
2023-01-31 19:44:03 +01:00
|
|
|
"touLink": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"version": {
|
|
|
|
"type": "string"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
2022-12-01 21:13:43 +01:00
|
|
|
"createFrontendRequest": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
2024-06-18 19:38:00 +02:00
|
|
|
"permissionMode": {
|
|
|
|
"type": "string",
|
|
|
|
"enum": [
|
|
|
|
"open",
|
|
|
|
"closed"
|
|
|
|
]
|
|
|
|
},
|
2022-12-01 21:13:43 +01:00
|
|
|
"public_name": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"url_template": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"zId": {
|
|
|
|
"type": "string"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"createFrontendResponse": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"token": {
|
|
|
|
"type": "string"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
2022-12-02 14:58:41 +01:00
|
|
|
"deleteFrontendRequest": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"frontendToken": {
|
|
|
|
"type": "string"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
2022-09-01 23:39:02 +02:00
|
|
|
"disableRequest": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"identity": {
|
|
|
|
"type": "string"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
2022-08-03 20:25:27 +02:00
|
|
|
"enableRequest": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"description": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"host": {
|
|
|
|
"type": "string"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
2022-07-25 22:42:06 +02:00
|
|
|
"enableResponse": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
2022-07-26 18:26:58 +02:00
|
|
|
"cfg": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
2022-07-25 22:42:06 +02:00
|
|
|
"identity": {
|
2022-07-25 17:44:17 +02:00
|
|
|
"type": "string"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
2022-08-03 17:54:11 +02:00
|
|
|
"environment": {
|
2022-08-02 19:54:40 +02:00
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
2023-05-12 17:57:34 +02:00
|
|
|
"activity": {
|
|
|
|
"$ref": "#/definitions/sparkData"
|
2022-08-02 19:54:40 +02:00
|
|
|
},
|
2022-08-03 19:48:17 +02:00
|
|
|
"address": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
2022-08-02 19:54:40 +02:00
|
|
|
"createdAt": {
|
2022-11-01 21:52:02 +01:00
|
|
|
"type": "integer"
|
2022-08-02 19:54:40 +02:00
|
|
|
},
|
2022-08-03 19:48:17 +02:00
|
|
|
"description": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"host": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
2023-05-15 20:14:52 +02:00
|
|
|
"limited": {
|
|
|
|
"type": "boolean"
|
|
|
|
},
|
2022-08-02 19:54:40 +02:00
|
|
|
"updatedAt": {
|
2022-11-01 21:52:02 +01:00
|
|
|
"type": "integer"
|
2022-08-02 19:54:40 +02:00
|
|
|
},
|
2022-10-19 18:35:29 +02:00
|
|
|
"zId": {
|
2022-08-02 19:54:40 +02:00
|
|
|
"type": "string"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
2023-05-17 17:23:16 +02:00
|
|
|
"environmentAndResources": {
|
2022-08-03 20:36:40 +02:00
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"environment": {
|
|
|
|
"$ref": "#/definitions/environment"
|
|
|
|
},
|
2023-05-17 17:23:16 +02:00
|
|
|
"frontends": {
|
|
|
|
"$ref": "#/definitions/frontends"
|
|
|
|
},
|
2023-01-04 19:43:37 +01:00
|
|
|
"shares": {
|
|
|
|
"$ref": "#/definitions/shares"
|
2022-08-03 20:36:40 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
2022-08-03 17:54:11 +02:00
|
|
|
"environments": {
|
|
|
|
"type": "array",
|
|
|
|
"items": {
|
|
|
|
"$ref": "#/definitions/environment"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"errorMessage": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
2023-05-17 17:23:16 +02:00
|
|
|
"frontend": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"createdAt": {
|
|
|
|
"type": "integer"
|
|
|
|
},
|
2023-05-17 19:21:01 +02:00
|
|
|
"id": {
|
|
|
|
"type": "integer"
|
|
|
|
},
|
2023-05-17 17:23:16 +02:00
|
|
|
"shrToken": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
2024-01-05 19:26:18 +01:00
|
|
|
"token": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
2023-05-17 17:23:16 +02:00
|
|
|
"updatedAt": {
|
|
|
|
"type": "integer"
|
|
|
|
},
|
|
|
|
"zId": {
|
|
|
|
"type": "string"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"frontends": {
|
|
|
|
"type": "array",
|
|
|
|
"items": {
|
|
|
|
"$ref": "#/definitions/frontend"
|
|
|
|
}
|
|
|
|
},
|
2022-11-30 17:43:00 +01:00
|
|
|
"inviteRequest": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"email": {
|
|
|
|
"type": "string"
|
2023-01-09 20:23:02 +01:00
|
|
|
},
|
|
|
|
"token": {
|
|
|
|
"type": "string"
|
2022-11-30 17:43:00 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
2023-01-10 19:26:22 +01:00
|
|
|
"inviteTokenGenerateRequest": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"tokens": {
|
|
|
|
"type": "array",
|
|
|
|
"items": {
|
|
|
|
"type": "string"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
2022-08-02 19:23:31 +02:00
|
|
|
"loginRequest": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"email": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"password": {
|
|
|
|
"type": "string"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"loginResponse": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
2023-05-08 20:33:15 +02:00
|
|
|
"metrics": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"id": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"period": {
|
|
|
|
"type": "number"
|
|
|
|
},
|
2023-05-09 22:22:30 +02:00
|
|
|
"samples": {
|
2023-05-08 20:33:15 +02:00
|
|
|
"type": "array",
|
|
|
|
"items": {
|
2023-05-09 22:22:30 +02:00
|
|
|
"$ref": "#/definitions/metricsSample"
|
2023-05-08 20:33:15 +02:00
|
|
|
}
|
|
|
|
},
|
|
|
|
"scope": {
|
|
|
|
"type": "string"
|
2023-05-09 22:22:30 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"metricsSample": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"rx": {
|
|
|
|
"type": "number"
|
|
|
|
},
|
|
|
|
"timestamp": {
|
|
|
|
"type": "number"
|
2023-05-08 20:33:15 +02:00
|
|
|
},
|
|
|
|
"tx": {
|
2023-05-09 22:22:30 +02:00
|
|
|
"type": "number"
|
2023-05-08 20:33:15 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
2023-05-16 17:51:03 +02:00
|
|
|
"overview": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"accountLimited": {
|
|
|
|
"type": "boolean"
|
|
|
|
},
|
|
|
|
"environments": {
|
2023-05-17 17:23:16 +02:00
|
|
|
"type": "array",
|
|
|
|
"items": {
|
|
|
|
"$ref": "#/definitions/environmentAndResources"
|
|
|
|
}
|
2023-05-16 17:51:03 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
2023-05-11 20:35:49 +02:00
|
|
|
"passwordRequirements": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"length": {
|
|
|
|
"type": "integer"
|
|
|
|
},
|
|
|
|
"requireCapital": {
|
|
|
|
"type": "boolean"
|
|
|
|
},
|
|
|
|
"requireNumeric": {
|
|
|
|
"type": "boolean"
|
|
|
|
},
|
|
|
|
"requireSpecial": {
|
|
|
|
"type": "boolean"
|
|
|
|
},
|
|
|
|
"validSpecialCharacters": {
|
|
|
|
"type": "string"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
2022-07-27 20:45:16 +02:00
|
|
|
"principal": {
|
2022-07-28 18:12:50 +02:00
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
2022-12-01 20:48:23 +01:00
|
|
|
"admin": {
|
|
|
|
"type": "boolean"
|
|
|
|
},
|
2022-09-09 16:20:05 +02:00
|
|
|
"email": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
2022-07-28 18:12:50 +02:00
|
|
|
"id": {
|
|
|
|
"type": "integer"
|
|
|
|
},
|
2023-01-13 19:16:10 +01:00
|
|
|
"limitless": {
|
|
|
|
"type": "boolean"
|
|
|
|
},
|
2022-07-28 18:12:50 +02:00
|
|
|
"token": {
|
|
|
|
"type": "string"
|
|
|
|
}
|
|
|
|
}
|
2022-07-27 20:45:16 +02:00
|
|
|
},
|
2022-12-02 15:30:06 +01:00
|
|
|
"publicFrontend": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
2022-12-02 16:46:53 +01:00
|
|
|
"createdAt": {
|
2022-12-02 15:30:06 +01:00
|
|
|
"type": "integer"
|
|
|
|
},
|
2022-12-02 16:46:53 +01:00
|
|
|
"publicName": {
|
2022-12-02 15:30:06 +01:00
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"token": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
2022-12-02 16:46:53 +01:00
|
|
|
"updatedAt": {
|
2022-12-02 15:30:06 +01:00
|
|
|
"type": "integer"
|
|
|
|
},
|
2022-12-02 16:46:53 +01:00
|
|
|
"urlTemplate": {
|
2022-12-02 15:30:06 +01:00
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"zId": {
|
|
|
|
"type": "string"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"publicFrontendList": {
|
|
|
|
"type": "array",
|
|
|
|
"items": {
|
|
|
|
"$ref": "#/definitions/publicFrontend"
|
|
|
|
}
|
|
|
|
},
|
2022-09-20 19:42:34 +02:00
|
|
|
"registerRequest": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"password": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"token": {
|
|
|
|
"type": "string"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
2022-09-20 22:01:46 +02:00
|
|
|
"registerResponse": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"token": {
|
|
|
|
"type": "string"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
2023-01-18 20:05:10 +01:00
|
|
|
"resetPasswordRequest": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"password": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"token": {
|
|
|
|
"type": "string"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
2023-01-04 19:43:37 +01:00
|
|
|
"share": {
|
2022-11-30 17:17:09 +01:00
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
2023-05-11 21:41:21 +02:00
|
|
|
"activity": {
|
|
|
|
"$ref": "#/definitions/sparkData"
|
|
|
|
},
|
2022-11-30 17:17:09 +01:00
|
|
|
"backendMode": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"backendProxyEndpoint": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
2022-12-01 18:54:14 +01:00
|
|
|
"createdAt": {
|
|
|
|
"type": "integer"
|
|
|
|
},
|
2022-11-30 17:17:09 +01:00
|
|
|
"frontendEndpoint": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"frontendSelection": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
2023-05-15 20:14:52 +02:00
|
|
|
"limited": {
|
|
|
|
"type": "boolean"
|
2022-12-01 18:54:14 +01:00
|
|
|
},
|
2022-11-30 17:17:09 +01:00
|
|
|
"reserved": {
|
|
|
|
"type": "boolean"
|
|
|
|
},
|
|
|
|
"shareMode": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"token": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
2022-12-01 18:54:14 +01:00
|
|
|
"updatedAt": {
|
|
|
|
"type": "integer"
|
|
|
|
},
|
2022-11-30 17:17:09 +01:00
|
|
|
"zId": {
|
|
|
|
"type": "string"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
2022-11-18 21:36:55 +01:00
|
|
|
"shareRequest": {
|
2022-07-26 21:38:35 +02:00
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
2024-03-04 17:59:32 +01:00
|
|
|
"accessGrants": {
|
|
|
|
"type": "array",
|
|
|
|
"items": {
|
|
|
|
"type": "string"
|
|
|
|
}
|
|
|
|
},
|
2022-08-16 17:46:54 +02:00
|
|
|
"authScheme": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"authUsers": {
|
|
|
|
"type": "array",
|
|
|
|
"items": {
|
|
|
|
"$ref": "#/definitions/authUser"
|
|
|
|
}
|
|
|
|
},
|
2022-11-18 21:48:13 +01:00
|
|
|
"backendMode": {
|
|
|
|
"type": "string",
|
|
|
|
"enum": [
|
|
|
|
"proxy",
|
|
|
|
"web",
|
2023-05-01 18:19:06 +02:00
|
|
|
"tcpTunnel",
|
2023-08-28 20:49:20 +02:00
|
|
|
"udpTunnel",
|
2023-10-17 19:05:55 +02:00
|
|
|
"caddy",
|
2024-02-08 19:11:19 +01:00
|
|
|
"drive",
|
2024-04-08 19:07:58 +02:00
|
|
|
"socks",
|
|
|
|
"vpn"
|
2022-11-18 21:48:13 +01:00
|
|
|
]
|
|
|
|
},
|
|
|
|
"backendProxyEndpoint": {
|
2022-07-26 21:38:35 +02:00
|
|
|
"type": "string"
|
|
|
|
},
|
2022-11-29 22:41:18 +01:00
|
|
|
"envZId": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
2022-11-18 21:48:13 +01:00
|
|
|
"frontendSelection": {
|
|
|
|
"type": "array",
|
|
|
|
"items": {
|
|
|
|
"type": "string"
|
|
|
|
}
|
|
|
|
},
|
2023-09-05 16:55:55 +02:00
|
|
|
"oauthAuthorizationCheckInterval": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
2023-02-22 16:37:07 +01:00
|
|
|
"oauthEmailDomains": {
|
|
|
|
"type": "array",
|
|
|
|
"items": {
|
|
|
|
"type": "string"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"oauthProvider": {
|
|
|
|
"type": "string",
|
|
|
|
"enum": [
|
2023-09-05 16:55:55 +02:00
|
|
|
"github",
|
|
|
|
"google"
|
2023-02-22 16:37:07 +01:00
|
|
|
]
|
|
|
|
},
|
2024-03-04 17:59:32 +01:00
|
|
|
"permissionMode": {
|
|
|
|
"type": "string",
|
|
|
|
"enum": [
|
|
|
|
"open",
|
|
|
|
"closed"
|
|
|
|
]
|
|
|
|
},
|
2022-11-30 19:45:57 +01:00
|
|
|
"reserved": {
|
|
|
|
"type": "boolean"
|
|
|
|
},
|
2022-11-18 21:48:13 +01:00
|
|
|
"shareMode": {
|
|
|
|
"type": "string",
|
|
|
|
"enum": [
|
|
|
|
"public",
|
|
|
|
"private"
|
|
|
|
]
|
2023-12-07 20:26:03 +01:00
|
|
|
},
|
|
|
|
"uniqueName": {
|
|
|
|
"type": "string"
|
2022-07-26 21:38:35 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
2022-11-18 21:36:55 +01:00
|
|
|
"shareResponse": {
|
2022-07-26 21:38:35 +02:00
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
2022-12-06 18:00:25 +01:00
|
|
|
"frontendProxyEndpoints": {
|
|
|
|
"type": "array",
|
|
|
|
"items": {
|
|
|
|
"type": "string"
|
|
|
|
}
|
2022-08-09 17:49:40 +02:00
|
|
|
},
|
2023-01-04 19:43:37 +01:00
|
|
|
"shrToken": {
|
2022-07-26 21:38:35 +02:00
|
|
|
"type": "string"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
2023-01-04 19:43:37 +01:00
|
|
|
"shares": {
|
|
|
|
"type": "array",
|
|
|
|
"items": {
|
|
|
|
"$ref": "#/definitions/share"
|
|
|
|
}
|
|
|
|
},
|
2023-05-11 21:21:10 +02:00
|
|
|
"sparkData": {
|
|
|
|
"type": "array",
|
|
|
|
"items": {
|
|
|
|
"$ref": "#/definitions/sparkDataSample"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"sparkDataSample": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"rx": {
|
|
|
|
"type": "number"
|
|
|
|
},
|
|
|
|
"tx": {
|
|
|
|
"type": "number"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
2022-11-23 18:12:11 +01:00
|
|
|
"unaccessRequest": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
2022-11-30 18:46:19 +01:00
|
|
|
"envZId": {
|
2022-11-28 19:55:53 +01:00
|
|
|
"type": "string"
|
|
|
|
},
|
2022-11-30 18:46:19 +01:00
|
|
|
"frontendToken": {
|
2022-11-23 18:12:11 +01:00
|
|
|
"type": "string"
|
|
|
|
},
|
2023-01-04 19:43:37 +01:00
|
|
|
"shrToken": {
|
2022-11-23 18:12:11 +01:00
|
|
|
"type": "string"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
2022-11-18 21:36:55 +01:00
|
|
|
"unshareRequest": {
|
2022-07-27 17:35:28 +02:00
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
2022-11-30 18:46:19 +01:00
|
|
|
"envZId": {
|
2022-07-27 17:35:28 +02:00
|
|
|
"type": "string"
|
2022-08-03 20:58:11 +02:00
|
|
|
},
|
2022-11-30 19:45:57 +01:00
|
|
|
"reserved": {
|
|
|
|
"type": "boolean"
|
|
|
|
},
|
2023-01-04 19:43:37 +01:00
|
|
|
"shrToken": {
|
2022-08-03 20:58:11 +02:00
|
|
|
"type": "string"
|
2022-07-27 17:35:28 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
2022-12-02 16:46:53 +01:00
|
|
|
"updateFrontendRequest": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"frontendToken": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"publicName": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"urlTemplate": {
|
|
|
|
"type": "string"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
2022-12-02 19:21:05 +01:00
|
|
|
"updateShareRequest": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
2024-03-06 17:57:03 +01:00
|
|
|
"addAccessGrants": {
|
|
|
|
"type": "array",
|
|
|
|
"items": {
|
|
|
|
"type": "string"
|
|
|
|
}
|
|
|
|
},
|
2022-12-02 19:21:05 +01:00
|
|
|
"backendProxyEndpoint": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
2024-03-06 17:57:03 +01:00
|
|
|
"removeAccessGrants": {
|
|
|
|
"type": "array",
|
|
|
|
"items": {
|
|
|
|
"type": "string"
|
|
|
|
}
|
|
|
|
},
|
2023-01-04 19:43:37 +01:00
|
|
|
"shrToken": {
|
2022-12-02 19:21:05 +01:00
|
|
|
"type": "string"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
2022-09-19 21:58:52 +02:00
|
|
|
"verifyRequest": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"token": {
|
|
|
|
"type": "string"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"verifyResponse": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"email": {
|
|
|
|
"type": "string"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
2022-07-22 16:52:36 +02:00
|
|
|
"version": {
|
2022-07-27 20:45:16 +02:00
|
|
|
"type": "string"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"securityDefinitions": {
|
|
|
|
"key": {
|
|
|
|
"type": "apiKey",
|
|
|
|
"name": "x-token",
|
|
|
|
"in": "header"
|
2022-07-22 16:52:36 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}`))
|
|
|
|
}
|