9071 lines
212 KiB
YAML
9071 lines
212 KiB
YAML
{
|
|
"x-generator": "NSwag v13.10.8.0 (NJsonSchema v10.3.11.0 (Newtonsoft.Json v10.0.0.0))",
|
|
"openapi": "3.0.0",
|
|
"info": {
|
|
"title": "Manager Service",
|
|
"description": "API Manager Service",
|
|
"version": "Version Alpha"
|
|
},
|
|
"servers": [
|
|
{
|
|
"url": "https://localhost:5001"
|
|
}
|
|
],
|
|
"paths": {
|
|
"/api/Authentication/Token": {
|
|
"post": {
|
|
"tags": [
|
|
"Authentication"
|
|
],
|
|
"operationId": "Authentication_AuthenticateWithForm",
|
|
"requestBody": {
|
|
"content": {
|
|
"multipart/form-data": {
|
|
"schema": {
|
|
"properties": {
|
|
"grant_type": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"username": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"password": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"client_id": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"client_secret": {
|
|
"type": "string",
|
|
"nullable": true
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"responses": {
|
|
"200": {
|
|
"description": "",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/TokenDTO"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"401": {
|
|
"description": "",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"500": {
|
|
"description": "",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/api/Authentication/Authenticate": {
|
|
"post": {
|
|
"tags": [
|
|
"Authentication"
|
|
],
|
|
"operationId": "Authentication_AuthenticateWithJson",
|
|
"requestBody": {
|
|
"x-name": "login",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/LoginDTO"
|
|
}
|
|
}
|
|
},
|
|
"required": true,
|
|
"x-position": 1
|
|
},
|
|
"responses": {
|
|
"200": {
|
|
"description": "",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/TokenDTO"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"401": {
|
|
"description": "",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"500": {
|
|
"description": "",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/api/ApplicationInstance": {
|
|
"get": {
|
|
"tags": [
|
|
"ApplicationInstance"
|
|
],
|
|
"operationId": "ApplicationInstance_Get",
|
|
"parameters": [
|
|
{
|
|
"name": "instanceId",
|
|
"in": "query",
|
|
"schema": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"x-position": 1
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "#/components/schemas/ApplicationInstanceDTO"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"500": {
|
|
"description": "",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"post": {
|
|
"tags": [
|
|
"ApplicationInstance"
|
|
],
|
|
"operationId": "ApplicationInstance_Create",
|
|
"requestBody": {
|
|
"x-name": "newApplicationInstanceDTO",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/ApplicationInstanceDTO"
|
|
}
|
|
}
|
|
},
|
|
"required": true,
|
|
"x-position": 1
|
|
},
|
|
"responses": {
|
|
"200": {
|
|
"description": "",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/ApplicationInstanceDTO"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"400": {
|
|
"description": "",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"409": {
|
|
"description": "",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"500": {
|
|
"description": "",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"security": [
|
|
{
|
|
"bearer": []
|
|
}
|
|
]
|
|
},
|
|
"put": {
|
|
"tags": [
|
|
"ApplicationInstance"
|
|
],
|
|
"operationId": "ApplicationInstance_Update",
|
|
"requestBody": {
|
|
"x-name": "updatedApplicationInstanceDTO",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/ApplicationInstanceDTO"
|
|
}
|
|
}
|
|
},
|
|
"required": true,
|
|
"x-position": 1
|
|
},
|
|
"responses": {
|
|
"200": {
|
|
"description": "",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/ApplicationInstanceDTO"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"400": {
|
|
"description": "",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"404": {
|
|
"description": "",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"500": {
|
|
"description": "",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"security": [
|
|
{
|
|
"bearer": []
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"/api/ApplicationInstance/{id}": {
|
|
"delete": {
|
|
"tags": [
|
|
"ApplicationInstance"
|
|
],
|
|
"operationId": "ApplicationInstance_Delete",
|
|
"parameters": [
|
|
{
|
|
"name": "id",
|
|
"in": "path",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"x-position": 1
|
|
}
|
|
],
|
|
"responses": {
|
|
"202": {
|
|
"description": "",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"400": {
|
|
"description": "",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"404": {
|
|
"description": "",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"500": {
|
|
"description": "",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"security": [
|
|
{
|
|
"bearer": []
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"/api/ApplicationInstance/{applicationInstanceId}/application-link": {
|
|
"get": {
|
|
"tags": [
|
|
"ApplicationInstance"
|
|
],
|
|
"operationId": "ApplicationInstance_GetAllApplicationLinkFromApplicationInstance",
|
|
"parameters": [
|
|
{
|
|
"name": "applicationInstanceId",
|
|
"in": "path",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"x-position": 1
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "#/components/schemas/AppConfigurationLinkDTO"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"500": {
|
|
"description": "",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"post": {
|
|
"tags": [
|
|
"ApplicationInstance"
|
|
],
|
|
"operationId": "ApplicationInstance_AddConfigurationToApplicationInstance",
|
|
"parameters": [
|
|
{
|
|
"name": "applicationInstanceId",
|
|
"in": "path",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"x-position": 1
|
|
}
|
|
],
|
|
"requestBody": {
|
|
"x-name": "appConfigurationLinkDTO",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/AppConfigurationLinkDTO"
|
|
}
|
|
}
|
|
},
|
|
"required": true,
|
|
"x-position": 2
|
|
},
|
|
"responses": {
|
|
"200": {
|
|
"description": "",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/AppConfigurationLinkDTO"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"400": {
|
|
"description": "",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"409": {
|
|
"description": "",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"500": {
|
|
"description": "",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"security": [
|
|
{
|
|
"bearer": []
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"/api/ApplicationInstance/application-link": {
|
|
"put": {
|
|
"tags": [
|
|
"ApplicationInstance"
|
|
],
|
|
"operationId": "ApplicationInstance_UpdateApplicationLink",
|
|
"requestBody": {
|
|
"x-name": "appConfigurationLinkDTO",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/AppConfigurationLinkDTO"
|
|
}
|
|
}
|
|
},
|
|
"required": true,
|
|
"x-position": 1
|
|
},
|
|
"responses": {
|
|
"200": {
|
|
"description": "",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/AppConfigurationLinkDTO"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"400": {
|
|
"description": "",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"404": {
|
|
"description": "",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"500": {
|
|
"description": "",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"security": [
|
|
{
|
|
"bearer": []
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"/api/ApplicationInstance/{applicationInstanceId}/application-link/{appConfigurationLinkId}": {
|
|
"delete": {
|
|
"tags": [
|
|
"ApplicationInstance"
|
|
],
|
|
"operationId": "ApplicationInstance_DeleteAppConfigurationLink",
|
|
"parameters": [
|
|
{
|
|
"name": "applicationInstanceId",
|
|
"in": "path",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"x-position": 1
|
|
},
|
|
{
|
|
"name": "appConfigurationLinkId",
|
|
"in": "path",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"x-position": 2
|
|
}
|
|
],
|
|
"responses": {
|
|
"202": {
|
|
"description": "",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"400": {
|
|
"description": "",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"404": {
|
|
"description": "",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"500": {
|
|
"description": "",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"security": [
|
|
{
|
|
"bearer": []
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"/api/Configuration": {
|
|
"get": {
|
|
"tags": [
|
|
"Configuration"
|
|
],
|
|
"operationId": "Configuration_Get",
|
|
"parameters": [
|
|
{
|
|
"name": "instanceId",
|
|
"in": "query",
|
|
"schema": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"x-position": 1
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "#/components/schemas/ConfigurationDTO"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"500": {
|
|
"description": "",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"post": {
|
|
"tags": [
|
|
"Configuration"
|
|
],
|
|
"operationId": "Configuration_Create",
|
|
"requestBody": {
|
|
"x-name": "newConfiguration",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/ConfigurationDTO"
|
|
}
|
|
}
|
|
},
|
|
"required": true,
|
|
"x-position": 1
|
|
},
|
|
"responses": {
|
|
"200": {
|
|
"description": "",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/ConfigurationDTO"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"400": {
|
|
"description": "",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"409": {
|
|
"description": "",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"500": {
|
|
"description": "",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"security": [
|
|
{
|
|
"bearer": []
|
|
}
|
|
]
|
|
},
|
|
"put": {
|
|
"tags": [
|
|
"Configuration"
|
|
],
|
|
"operationId": "Configuration_Update",
|
|
"requestBody": {
|
|
"x-name": "updatedConfiguration",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/ConfigurationDTO"
|
|
}
|
|
}
|
|
},
|
|
"required": true,
|
|
"x-position": 1
|
|
},
|
|
"responses": {
|
|
"200": {
|
|
"description": "",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/ConfigurationDTO"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"400": {
|
|
"description": "",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"404": {
|
|
"description": "",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"500": {
|
|
"description": "",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"security": [
|
|
{
|
|
"bearer": []
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"/api/Configuration/byPin": {
|
|
"get": {
|
|
"tags": [
|
|
"Configuration"
|
|
],
|
|
"operationId": "Configuration_GetConfigurationsByPinCode",
|
|
"parameters": [
|
|
{
|
|
"name": "pinCode",
|
|
"in": "query",
|
|
"schema": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"x-position": 1
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "#/components/schemas/ConfigurationDTO"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"404": {
|
|
"description": "",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"500": {
|
|
"description": "",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/api/Configuration/{id}": {
|
|
"get": {
|
|
"tags": [
|
|
"Configuration"
|
|
],
|
|
"operationId": "Configuration_GetDetail",
|
|
"parameters": [
|
|
{
|
|
"name": "id",
|
|
"in": "path",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"x-position": 1
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/ConfigurationDTO"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"404": {
|
|
"description": "",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"500": {
|
|
"description": "",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"delete": {
|
|
"tags": [
|
|
"Configuration"
|
|
],
|
|
"operationId": "Configuration_Delete",
|
|
"parameters": [
|
|
{
|
|
"name": "id",
|
|
"in": "path",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"x-position": 1
|
|
}
|
|
],
|
|
"responses": {
|
|
"202": {
|
|
"description": "",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"400": {
|
|
"description": "",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"404": {
|
|
"description": "",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"500": {
|
|
"description": "",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"security": [
|
|
{
|
|
"bearer": []
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"/api/Configuration/{id}/export": {
|
|
"get": {
|
|
"tags": [
|
|
"Configuration"
|
|
],
|
|
"operationId": "Configuration_Export",
|
|
"parameters": [
|
|
{
|
|
"name": "id",
|
|
"in": "path",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"x-position": 1
|
|
},
|
|
{
|
|
"name": "language",
|
|
"in": "query",
|
|
"schema": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"x-position": 2
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "",
|
|
"content": {
|
|
"application/octet-stream": {
|
|
"schema": {
|
|
"type": "string",
|
|
"format": "binary"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"400": {
|
|
"description": "",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"404": {
|
|
"description": "",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"500": {
|
|
"description": "",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/api/Configuration/import": {
|
|
"post": {
|
|
"tags": [
|
|
"Configuration"
|
|
],
|
|
"operationId": "Configuration_Import",
|
|
"requestBody": {
|
|
"x-name": "exportConfiguration",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/ExportConfigurationDTO"
|
|
}
|
|
}
|
|
},
|
|
"required": true,
|
|
"x-position": 1
|
|
},
|
|
"responses": {
|
|
"202": {
|
|
"description": "",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"400": {
|
|
"description": "",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"404": {
|
|
"description": "",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"409": {
|
|
"description": "",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"500": {
|
|
"description": "",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"security": [
|
|
{
|
|
"bearer": []
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"/api/Device": {
|
|
"get": {
|
|
"tags": [
|
|
"Device"
|
|
],
|
|
"operationId": "Device_Get",
|
|
"parameters": [
|
|
{
|
|
"name": "instanceId",
|
|
"in": "query",
|
|
"schema": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"x-position": 1
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "#/components/schemas/DeviceDTO"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"500": {
|
|
"description": "",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"security": [
|
|
{
|
|
"bearer": []
|
|
}
|
|
]
|
|
},
|
|
"post": {
|
|
"tags": [
|
|
"Device"
|
|
],
|
|
"operationId": "Device_Create",
|
|
"requestBody": {
|
|
"x-name": "newDevice",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/DeviceDetailDTO"
|
|
}
|
|
}
|
|
},
|
|
"required": true,
|
|
"x-position": 1
|
|
},
|
|
"responses": {
|
|
"200": {
|
|
"description": "",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/DeviceDetailDTO"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"400": {
|
|
"description": "",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"404": {
|
|
"description": "",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"409": {
|
|
"description": "",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"500": {
|
|
"description": "",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"put": {
|
|
"tags": [
|
|
"Device"
|
|
],
|
|
"operationId": "Device_Update",
|
|
"requestBody": {
|
|
"x-name": "updatedDevice",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/DeviceDetailDTO"
|
|
}
|
|
}
|
|
},
|
|
"required": true,
|
|
"x-position": 1
|
|
},
|
|
"responses": {
|
|
"200": {
|
|
"description": "",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/DeviceDetailDTO"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"400": {
|
|
"description": "",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"404": {
|
|
"description": "",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"500": {
|
|
"description": "",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"security": [
|
|
{
|
|
"bearer": []
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"/api/Device/{id}/detail": {
|
|
"get": {
|
|
"tags": [
|
|
"Device"
|
|
],
|
|
"operationId": "Device_GetDetail",
|
|
"parameters": [
|
|
{
|
|
"name": "id",
|
|
"in": "path",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"x-position": 1
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/DeviceDetailDTO"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"404": {
|
|
"description": "",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"500": {
|
|
"description": "",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/api/Device/mainInfos": {
|
|
"put": {
|
|
"tags": [
|
|
"Device"
|
|
],
|
|
"operationId": "Device_UpdateMainInfos",
|
|
"requestBody": {
|
|
"x-name": "deviceIn",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/DeviceDTO"
|
|
}
|
|
}
|
|
},
|
|
"required": true,
|
|
"x-position": 1
|
|
},
|
|
"responses": {
|
|
"200": {
|
|
"description": "",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/DeviceDTO"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"400": {
|
|
"description": "",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"404": {
|
|
"description": "",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"500": {
|
|
"description": "",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"security": [
|
|
{
|
|
"bearer": []
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"/api/Device/{id}": {
|
|
"delete": {
|
|
"tags": [
|
|
"Device"
|
|
],
|
|
"operationId": "Device_Delete",
|
|
"parameters": [
|
|
{
|
|
"name": "id",
|
|
"in": "path",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"x-position": 1
|
|
}
|
|
],
|
|
"responses": {
|
|
"202": {
|
|
"description": "",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"400": {
|
|
"description": "",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"404": {
|
|
"description": "",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"500": {
|
|
"description": "",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"security": [
|
|
{
|
|
"bearer": []
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"/api/Instance": {
|
|
"get": {
|
|
"tags": [
|
|
"Instance"
|
|
],
|
|
"operationId": "Instance_Get",
|
|
"responses": {
|
|
"200": {
|
|
"description": "",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "#/components/schemas/Instance"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"500": {
|
|
"description": "",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"security": [
|
|
{
|
|
"bearer": []
|
|
}
|
|
]
|
|
},
|
|
"post": {
|
|
"tags": [
|
|
"Instance"
|
|
],
|
|
"operationId": "Instance_CreateInstance",
|
|
"requestBody": {
|
|
"x-name": "newInstance",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/InstanceDTO"
|
|
}
|
|
}
|
|
},
|
|
"required": true,
|
|
"x-position": 1
|
|
},
|
|
"responses": {
|
|
"200": {
|
|
"description": "",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/InstanceDTO"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"400": {
|
|
"description": "",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"409": {
|
|
"description": "",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"500": {
|
|
"description": "",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"security": [
|
|
{
|
|
"bearer": []
|
|
}
|
|
]
|
|
},
|
|
"put": {
|
|
"tags": [
|
|
"Instance"
|
|
],
|
|
"operationId": "Instance_Updateinstance",
|
|
"requestBody": {
|
|
"x-name": "updatedInstance",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/InstanceDTO"
|
|
}
|
|
}
|
|
},
|
|
"required": true,
|
|
"x-position": 1
|
|
},
|
|
"responses": {
|
|
"200": {
|
|
"description": "",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/InstanceDTO"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"400": {
|
|
"description": "",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"404": {
|
|
"description": "",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"500": {
|
|
"description": "",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"security": [
|
|
{
|
|
"bearer": []
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"/api/Instance/{id}": {
|
|
"get": {
|
|
"tags": [
|
|
"Instance"
|
|
],
|
|
"operationId": "Instance_GetDetail",
|
|
"parameters": [
|
|
{
|
|
"name": "id",
|
|
"in": "path",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"x-position": 1
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/InstanceDTO"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"404": {
|
|
"description": "",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"500": {
|
|
"description": "",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"security": [
|
|
{
|
|
"bearer": []
|
|
}
|
|
]
|
|
},
|
|
"delete": {
|
|
"tags": [
|
|
"Instance"
|
|
],
|
|
"operationId": "Instance_DeleteInstance",
|
|
"parameters": [
|
|
{
|
|
"name": "id",
|
|
"in": "path",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"x-position": 1
|
|
}
|
|
],
|
|
"responses": {
|
|
"202": {
|
|
"description": "",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"400": {
|
|
"description": "",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"404": {
|
|
"description": "",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"500": {
|
|
"description": "",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"security": [
|
|
{
|
|
"bearer": []
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"/api/Instance/byPin": {
|
|
"get": {
|
|
"tags": [
|
|
"Instance"
|
|
],
|
|
"operationId": "Instance_GetInstanceByPinCode",
|
|
"parameters": [
|
|
{
|
|
"name": "pinCode",
|
|
"in": "query",
|
|
"schema": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"x-position": 1
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/InstanceDTO"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"404": {
|
|
"description": "",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"500": {
|
|
"description": "",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/api/Resource": {
|
|
"get": {
|
|
"tags": [
|
|
"Resource"
|
|
],
|
|
"operationId": "Resource_Get",
|
|
"parameters": [
|
|
{
|
|
"name": "instanceId",
|
|
"in": "query",
|
|
"schema": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"x-position": 1
|
|
},
|
|
{
|
|
"name": "types",
|
|
"in": "query",
|
|
"style": "form",
|
|
"explode": true,
|
|
"schema": {
|
|
"type": "array",
|
|
"nullable": true,
|
|
"items": {
|
|
"$ref": "#/components/schemas/ResourceType"
|
|
}
|
|
},
|
|
"x-position": 2
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "#/components/schemas/ResourceDTO"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"500": {
|
|
"description": "",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"security": [
|
|
{
|
|
"bearer": []
|
|
}
|
|
]
|
|
},
|
|
"post": {
|
|
"tags": [
|
|
"Resource"
|
|
],
|
|
"operationId": "Resource_Create",
|
|
"requestBody": {
|
|
"x-name": "newResource",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/ResourceDTO"
|
|
}
|
|
}
|
|
},
|
|
"required": true,
|
|
"x-position": 1
|
|
},
|
|
"responses": {
|
|
"200": {
|
|
"description": "",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/ResourceDTO"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"400": {
|
|
"description": "",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"409": {
|
|
"description": "",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"500": {
|
|
"description": "",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"security": [
|
|
{
|
|
"bearer": []
|
|
}
|
|
]
|
|
},
|
|
"put": {
|
|
"tags": [
|
|
"Resource"
|
|
],
|
|
"operationId": "Resource_Update",
|
|
"requestBody": {
|
|
"x-name": "updatedResource",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/ResourceDTO"
|
|
}
|
|
}
|
|
},
|
|
"required": true,
|
|
"x-position": 1
|
|
},
|
|
"responses": {
|
|
"200": {
|
|
"description": "",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/ResourceDTO"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"400": {
|
|
"description": "",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"404": {
|
|
"description": "",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"500": {
|
|
"description": "",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"security": [
|
|
{
|
|
"bearer": []
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"/api/Resource/{id}/detail": {
|
|
"get": {
|
|
"tags": [
|
|
"Resource"
|
|
],
|
|
"operationId": "Resource_GetDetail",
|
|
"parameters": [
|
|
{
|
|
"name": "id",
|
|
"in": "path",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"x-position": 1
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/ResourceDTO"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"404": {
|
|
"description": "",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"500": {
|
|
"description": "",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/api/Resource/{id}": {
|
|
"get": {
|
|
"tags": [
|
|
"Resource"
|
|
],
|
|
"operationId": "Resource_Show",
|
|
"parameters": [
|
|
{
|
|
"name": "id",
|
|
"in": "path",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"x-position": 1
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "",
|
|
"content": {
|
|
"application/octet-stream": {
|
|
"schema": {
|
|
"type": "string",
|
|
"format": "binary"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"404": {
|
|
"description": "",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"500": {
|
|
"description": "",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"delete": {
|
|
"tags": [
|
|
"Resource"
|
|
],
|
|
"operationId": "Resource_Delete",
|
|
"parameters": [
|
|
{
|
|
"name": "id",
|
|
"in": "path",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"x-position": 1
|
|
}
|
|
],
|
|
"responses": {
|
|
"202": {
|
|
"description": "",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"400": {
|
|
"description": "",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"404": {
|
|
"description": "",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"500": {
|
|
"description": "",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"security": [
|
|
{
|
|
"bearer": []
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"/api/Resource/upload": {
|
|
"post": {
|
|
"tags": [
|
|
"Resource"
|
|
],
|
|
"operationId": "Resource_Upload",
|
|
"requestBody": {
|
|
"content": {
|
|
"multipart/form-data": {
|
|
"schema": {
|
|
"properties": {
|
|
"label": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"type": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"instanceId": {
|
|
"type": "string",
|
|
"nullable": true
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"responses": {
|
|
"200": {
|
|
"description": "",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"404": {
|
|
"description": "",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"500": {
|
|
"description": "",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"security": [
|
|
{
|
|
"bearer": []
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"/api/SectionAgenda/{sectionAgendaId}/events": {
|
|
"get": {
|
|
"tags": [
|
|
"Section agenda"
|
|
],
|
|
"operationId": "SectionAgenda_GetAllEventAgendaFromSection",
|
|
"parameters": [
|
|
{
|
|
"name": "sectionAgendaId",
|
|
"in": "path",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"x-position": 1
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "#/components/schemas/EventAgendaDTO"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"404": {
|
|
"description": "",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"500": {
|
|
"description": "",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/api/SectionAgenda/{sectionAgendaId}/event": {
|
|
"post": {
|
|
"tags": [
|
|
"Section agenda"
|
|
],
|
|
"operationId": "SectionAgenda_CreateEventAgenda",
|
|
"parameters": [
|
|
{
|
|
"name": "sectionAgendaId",
|
|
"in": "path",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"x-position": 1
|
|
}
|
|
],
|
|
"requestBody": {
|
|
"x-name": "eventAgendaDTO",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/EventAgendaDTO"
|
|
}
|
|
}
|
|
},
|
|
"required": true,
|
|
"x-position": 2
|
|
},
|
|
"responses": {
|
|
"200": {
|
|
"description": "",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/EventAgendaDTO"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"400": {
|
|
"description": "",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"409": {
|
|
"description": "",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"500": {
|
|
"description": "",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"security": [
|
|
{
|
|
"bearer": []
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"/api/SectionAgenda/event": {
|
|
"put": {
|
|
"tags": [
|
|
"Section agenda"
|
|
],
|
|
"operationId": "SectionAgenda_UpdateEventAgenda",
|
|
"requestBody": {
|
|
"x-name": "eventAgendaDTO",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/EventAgendaDTO"
|
|
}
|
|
}
|
|
},
|
|
"required": true,
|
|
"x-position": 1
|
|
},
|
|
"responses": {
|
|
"200": {
|
|
"description": "",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/EventAgendaDTO"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"400": {
|
|
"description": "",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"404": {
|
|
"description": "",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"500": {
|
|
"description": "",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"security": [
|
|
{
|
|
"bearer": []
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"/api/SectionAgenda/event/{eventAgendaId}": {
|
|
"delete": {
|
|
"tags": [
|
|
"Section agenda"
|
|
],
|
|
"operationId": "SectionAgenda_DeleteEventAgenda",
|
|
"parameters": [
|
|
{
|
|
"name": "eventAgendaId",
|
|
"in": "path",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "integer",
|
|
"format": "int32"
|
|
},
|
|
"x-position": 1
|
|
}
|
|
],
|
|
"responses": {
|
|
"202": {
|
|
"description": "",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"404": {
|
|
"description": "",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"500": {
|
|
"description": "",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"security": [
|
|
{
|
|
"bearer": []
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"/api/Section": {
|
|
"get": {
|
|
"tags": [
|
|
"Section"
|
|
],
|
|
"operationId": "Section_Get",
|
|
"parameters": [
|
|
{
|
|
"name": "instanceId",
|
|
"in": "query",
|
|
"schema": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"x-position": 1
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "#/components/schemas/SectionDTO"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"500": {
|
|
"description": "",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"400": {
|
|
"description": "",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"security": [
|
|
{
|
|
"bearer": []
|
|
}
|
|
]
|
|
},
|
|
"post": {
|
|
"tags": [
|
|
"Section"
|
|
],
|
|
"operationId": "Section_Create",
|
|
"requestBody": {
|
|
"x-name": "newSection",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/SectionDTO"
|
|
}
|
|
}
|
|
},
|
|
"required": true,
|
|
"x-position": 1
|
|
},
|
|
"responses": {
|
|
"200": {
|
|
"description": "",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/SectionDTO"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"400": {
|
|
"description": "",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"409": {
|
|
"description": "",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"500": {
|
|
"description": "",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"security": [
|
|
{
|
|
"bearer": []
|
|
}
|
|
]
|
|
},
|
|
"put": {
|
|
"tags": [
|
|
"Section"
|
|
],
|
|
"operationId": "Section_Update",
|
|
"requestBody": {
|
|
"x-name": "updatedSection",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {}
|
|
}
|
|
},
|
|
"required": true,
|
|
"x-position": 1
|
|
},
|
|
"responses": {
|
|
"200": {
|
|
"description": "",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {}
|
|
}
|
|
}
|
|
},
|
|
"400": {
|
|
"description": "",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"404": {
|
|
"description": "",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"500": {
|
|
"description": "",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"security": [
|
|
{
|
|
"bearer": []
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"/api/Section/configuration/{id}": {
|
|
"get": {
|
|
"tags": [
|
|
"Section"
|
|
],
|
|
"operationId": "Section_GetFromConfiguration",
|
|
"parameters": [
|
|
{
|
|
"name": "id",
|
|
"in": "path",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"x-position": 1
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "#/components/schemas/SectionDTO"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"500": {
|
|
"description": "",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"400": {
|
|
"description": "",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"delete": {
|
|
"tags": [
|
|
"Section"
|
|
],
|
|
"operationId": "Section_DeleteAllForConfiguration",
|
|
"parameters": [
|
|
{
|
|
"name": "id",
|
|
"in": "path",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"x-position": 1
|
|
}
|
|
],
|
|
"responses": {
|
|
"202": {
|
|
"description": "",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"500": {
|
|
"description": "",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"400": {
|
|
"description": "",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"security": [
|
|
{
|
|
"bearer": []
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"/api/Section/configuration/{id}/detail": {
|
|
"get": {
|
|
"tags": [
|
|
"Section"
|
|
],
|
|
"operationId": "Section_GetFromConfigurationDetail",
|
|
"parameters": [
|
|
{
|
|
"name": "id",
|
|
"in": "path",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"x-position": 1
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "array",
|
|
"items": {}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"500": {
|
|
"description": "",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"400": {
|
|
"description": "",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/api/Section/{id}/subsections": {
|
|
"get": {
|
|
"tags": [
|
|
"Section"
|
|
],
|
|
"operationId": "Section_GetAllSectionSubSections",
|
|
"parameters": [
|
|
{
|
|
"name": "id",
|
|
"in": "path",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"x-position": 1
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "array",
|
|
"items": {}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"500": {
|
|
"description": "",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"400": {
|
|
"description": "",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"security": [
|
|
{
|
|
"bearer": []
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"/api/Section/{id}": {
|
|
"get": {
|
|
"tags": [
|
|
"Section"
|
|
],
|
|
"operationId": "Section_GetDetail",
|
|
"parameters": [
|
|
{
|
|
"name": "id",
|
|
"in": "path",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"x-position": 1
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {}
|
|
}
|
|
}
|
|
},
|
|
"404": {
|
|
"description": "",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"500": {
|
|
"description": "",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"delete": {
|
|
"tags": [
|
|
"Section"
|
|
],
|
|
"operationId": "Section_Delete",
|
|
"parameters": [
|
|
{
|
|
"name": "id",
|
|
"in": "path",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"x-position": 1
|
|
}
|
|
],
|
|
"responses": {
|
|
"202": {
|
|
"description": "",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"400": {
|
|
"description": "",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"404": {
|
|
"description": "",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"500": {
|
|
"description": "",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"security": [
|
|
{
|
|
"bearer": []
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"/api/Section/beacons/{instanceId}": {
|
|
"get": {
|
|
"tags": [
|
|
"Section"
|
|
],
|
|
"operationId": "Section_GetAllBeaconsForInstance",
|
|
"parameters": [
|
|
{
|
|
"name": "instanceId",
|
|
"in": "path",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"x-position": 1
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "#/components/schemas/SectionDTO"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"404": {
|
|
"description": "",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"500": {
|
|
"description": "",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/api/Section/order": {
|
|
"put": {
|
|
"tags": [
|
|
"Section"
|
|
],
|
|
"operationId": "Section_UpdateOrder",
|
|
"requestBody": {
|
|
"x-name": "updatedSectionsOrder",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "#/components/schemas/SectionDTO"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"required": true,
|
|
"x-position": 1
|
|
},
|
|
"responses": {
|
|
"200": {
|
|
"description": "",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"400": {
|
|
"description": "",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"404": {
|
|
"description": "",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"500": {
|
|
"description": "",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"security": [
|
|
{
|
|
"bearer": []
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"/api/Section/MapDTO": {
|
|
"get": {
|
|
"tags": [
|
|
"Section"
|
|
],
|
|
"operationId": "Section_GetMapDTO",
|
|
"responses": {
|
|
"200": {
|
|
"description": "",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/MapDTO"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"security": [
|
|
{
|
|
"bearer": []
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"/api/Section/SliderDTO": {
|
|
"get": {
|
|
"tags": [
|
|
"Section"
|
|
],
|
|
"operationId": "Section_GetSliderDTO",
|
|
"responses": {
|
|
"200": {
|
|
"description": "",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/SliderDTO"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"security": [
|
|
{
|
|
"bearer": []
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"/api/Section/VideoDTO": {
|
|
"get": {
|
|
"tags": [
|
|
"Section"
|
|
],
|
|
"operationId": "Section_GetVideoDTO",
|
|
"responses": {
|
|
"200": {
|
|
"description": "",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/VideoDTO"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"security": [
|
|
{
|
|
"bearer": []
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"/api/Section/WebDTO": {
|
|
"get": {
|
|
"tags": [
|
|
"Section"
|
|
],
|
|
"operationId": "Section_GetWebDTO",
|
|
"responses": {
|
|
"200": {
|
|
"description": "",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/WebDTO"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"security": [
|
|
{
|
|
"bearer": []
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"/api/Section/MenuDTO": {
|
|
"get": {
|
|
"tags": [
|
|
"Section"
|
|
],
|
|
"operationId": "Section_GetMenuDTO",
|
|
"responses": {
|
|
"200": {
|
|
"description": "",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/MenuDTO"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"security": [
|
|
{
|
|
"bearer": []
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"/api/Section/PlayerMessageDTO": {
|
|
"get": {
|
|
"tags": [
|
|
"Section"
|
|
],
|
|
"operationId": "Section_PlayerMessageDTO",
|
|
"responses": {
|
|
"200": {
|
|
"description": "",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/PlayerMessageDTO"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"security": [
|
|
{
|
|
"bearer": []
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"/api/Section/QuizDTO": {
|
|
"get": {
|
|
"tags": [
|
|
"Section"
|
|
],
|
|
"operationId": "Section_GetQuizDTO",
|
|
"responses": {
|
|
"200": {
|
|
"description": "",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/QuizDTO"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"security": [
|
|
{
|
|
"bearer": []
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"/api/Section/ArticleDTO": {
|
|
"get": {
|
|
"tags": [
|
|
"Section"
|
|
],
|
|
"operationId": "Section_GetArticleDTO",
|
|
"responses": {
|
|
"200": {
|
|
"description": "",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/ArticleDTO"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"security": [
|
|
{
|
|
"bearer": []
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"/api/Section/PdfDTO": {
|
|
"get": {
|
|
"tags": [
|
|
"Section"
|
|
],
|
|
"operationId": "Section_GetPdfDTO",
|
|
"responses": {
|
|
"200": {
|
|
"description": "",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/PdfDTO"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"security": [
|
|
{
|
|
"bearer": []
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"/api/Section/PuzzleDTO": {
|
|
"get": {
|
|
"tags": [
|
|
"Section"
|
|
],
|
|
"operationId": "Section_GetPuzzleDTO",
|
|
"responses": {
|
|
"200": {
|
|
"description": "",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/PuzzleDTO"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"security": [
|
|
{
|
|
"bearer": []
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"/api/Section/AgendaDTO": {
|
|
"get": {
|
|
"tags": [
|
|
"Section"
|
|
],
|
|
"operationId": "Section_GetAgendaDTO",
|
|
"responses": {
|
|
"200": {
|
|
"description": "",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/AgendaDTO"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"security": [
|
|
{
|
|
"bearer": []
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"/api/Section/WeatherDTO": {
|
|
"get": {
|
|
"tags": [
|
|
"Section"
|
|
],
|
|
"operationId": "Section_GetWeatherDTO",
|
|
"responses": {
|
|
"200": {
|
|
"description": "",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/WeatherDTO"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"security": [
|
|
{
|
|
"bearer": []
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"/api/Section/SectionEventDTO": {
|
|
"get": {
|
|
"tags": [
|
|
"Section"
|
|
],
|
|
"operationId": "Section_GetSectionEventDTO",
|
|
"responses": {
|
|
"200": {
|
|
"description": "",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/SectionEventDTO"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"security": [
|
|
{
|
|
"bearer": []
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"/api/Section/GuidedPathDTO": {
|
|
"get": {
|
|
"tags": [
|
|
"Section"
|
|
],
|
|
"operationId": "Section_GetGuidedPathDTO",
|
|
"responses": {
|
|
"200": {
|
|
"description": "",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/GuidedPathDTO"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"security": [
|
|
{
|
|
"bearer": []
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"/api/SectionEvent/{sectionEventId}/programmes": {
|
|
"get": {
|
|
"tags": [
|
|
"Section event"
|
|
],
|
|
"operationId": "SectionEvent_GetAllProgrammeBlockFromSection",
|
|
"parameters": [
|
|
{
|
|
"name": "sectionEventId",
|
|
"in": "path",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"x-position": 1
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "#/components/schemas/ProgrammeBlock"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"404": {
|
|
"description": "",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"500": {
|
|
"description": "",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"post": {
|
|
"tags": [
|
|
"Section event"
|
|
],
|
|
"operationId": "SectionEvent_CreateProgrammeBlock",
|
|
"parameters": [
|
|
{
|
|
"name": "sectionEventId",
|
|
"in": "path",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"x-position": 1
|
|
}
|
|
],
|
|
"requestBody": {
|
|
"x-name": "programmeBlockDTO",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/ProgrammeBlockDTO"
|
|
}
|
|
}
|
|
},
|
|
"required": true,
|
|
"x-position": 2
|
|
},
|
|
"responses": {
|
|
"200": {
|
|
"description": "",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/ProgrammeBlockDTO"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"400": {
|
|
"description": "",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"409": {
|
|
"description": "",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"500": {
|
|
"description": "",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"security": [
|
|
{
|
|
"bearer": []
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"/api/SectionEvent/programmes": {
|
|
"put": {
|
|
"tags": [
|
|
"Section event"
|
|
],
|
|
"operationId": "SectionEvent_UpdateProgrammeBlock",
|
|
"requestBody": {
|
|
"x-name": "programmeBlockDTO",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/ProgrammeBlockDTO"
|
|
}
|
|
}
|
|
},
|
|
"required": true,
|
|
"x-position": 1
|
|
},
|
|
"responses": {
|
|
"200": {
|
|
"description": "",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/ProgrammeBlockDTO"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"400": {
|
|
"description": "",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"404": {
|
|
"description": "",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"500": {
|
|
"description": "",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"security": [
|
|
{
|
|
"bearer": []
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"/api/SectionEvent/programmes/{programBlockId}": {
|
|
"delete": {
|
|
"tags": [
|
|
"Section event"
|
|
],
|
|
"operationId": "SectionEvent_DeleteProgrammeBlock",
|
|
"parameters": [
|
|
{
|
|
"name": "programBlockId",
|
|
"in": "path",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"x-position": 1
|
|
}
|
|
],
|
|
"responses": {
|
|
"202": {
|
|
"description": "",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"404": {
|
|
"description": "",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"500": {
|
|
"description": "",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"security": [
|
|
{
|
|
"bearer": []
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"/api/SectionEvent/{programBlockId}/map-annotations": {
|
|
"get": {
|
|
"tags": [
|
|
"Section event"
|
|
],
|
|
"operationId": "SectionEvent_GetAllMapAnnotationsFromProgrammeBlock",
|
|
"parameters": [
|
|
{
|
|
"name": "programBlockId",
|
|
"in": "path",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"x-position": 1
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "#/components/schemas/MapAnnotationDTO"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"404": {
|
|
"description": "",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"500": {
|
|
"description": "",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/api/SectionEvent/{programmeBlockId}/map-annotations": {
|
|
"post": {
|
|
"tags": [
|
|
"Section event"
|
|
],
|
|
"operationId": "SectionEvent_CreateMapAnnotation",
|
|
"parameters": [
|
|
{
|
|
"name": "programmeBlockId",
|
|
"in": "path",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"x-position": 1
|
|
}
|
|
],
|
|
"requestBody": {
|
|
"x-name": "mapAnnotationDTO",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/MapAnnotationDTO"
|
|
}
|
|
}
|
|
},
|
|
"required": true,
|
|
"x-position": 2
|
|
},
|
|
"responses": {
|
|
"200": {
|
|
"description": "",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/MapAnnotationDTO"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"400": {
|
|
"description": "",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"409": {
|
|
"description": "",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"500": {
|
|
"description": "",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"security": [
|
|
{
|
|
"bearer": []
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"/api/SectionEvent/map-annotations": {
|
|
"put": {
|
|
"tags": [
|
|
"Section event"
|
|
],
|
|
"operationId": "SectionEvent_UpdateMapAnnotation",
|
|
"requestBody": {
|
|
"x-name": "mapAnnotationDTO",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/MapAnnotationDTO"
|
|
}
|
|
}
|
|
},
|
|
"required": true,
|
|
"x-position": 1
|
|
},
|
|
"responses": {
|
|
"200": {
|
|
"description": "",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/MapAnnotationDTO"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"400": {
|
|
"description": "",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"404": {
|
|
"description": "",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"500": {
|
|
"description": "",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"security": [
|
|
{
|
|
"bearer": []
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"/api/SectionEvent/map-annotations/{mapAnnotationId}": {
|
|
"delete": {
|
|
"tags": [
|
|
"Section event"
|
|
],
|
|
"operationId": "SectionEvent_DeleteMapAnnotation",
|
|
"parameters": [
|
|
{
|
|
"name": "mapAnnotationId",
|
|
"in": "path",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"x-position": 1
|
|
}
|
|
],
|
|
"responses": {
|
|
"202": {
|
|
"description": "",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"404": {
|
|
"description": "",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"500": {
|
|
"description": "",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"security": [
|
|
{
|
|
"bearer": []
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"/api/SectionMap/{sectionId}/points": {
|
|
"get": {
|
|
"tags": [
|
|
"Section map"
|
|
],
|
|
"operationId": "SectionMap_GetAllGeoPointsFromSection",
|
|
"parameters": [
|
|
{
|
|
"name": "sectionId",
|
|
"in": "path",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"x-position": 1
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "#/components/schemas/GeoPointDTO"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"404": {
|
|
"description": "",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"500": {
|
|
"description": "",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"post": {
|
|
"tags": [
|
|
"Section map"
|
|
],
|
|
"operationId": "SectionMap_Create",
|
|
"parameters": [
|
|
{
|
|
"name": "sectionId",
|
|
"in": "path",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"x-position": 1
|
|
}
|
|
],
|
|
"requestBody": {
|
|
"x-name": "geoPointDTO",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/GeoPointDTO"
|
|
}
|
|
}
|
|
},
|
|
"required": true,
|
|
"x-position": 2
|
|
},
|
|
"responses": {
|
|
"200": {
|
|
"description": "",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/GeoPointDTO"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"400": {
|
|
"description": "",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"409": {
|
|
"description": "",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"500": {
|
|
"description": "",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"security": [
|
|
{
|
|
"bearer": []
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"/api/SectionMap": {
|
|
"put": {
|
|
"tags": [
|
|
"Section map"
|
|
],
|
|
"operationId": "SectionMap_Update",
|
|
"requestBody": {
|
|
"x-name": "geoPointDTO",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/GeoPointDTO"
|
|
}
|
|
}
|
|
},
|
|
"required": true,
|
|
"x-position": 1
|
|
},
|
|
"responses": {
|
|
"200": {
|
|
"description": "",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/GeoPoint"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"400": {
|
|
"description": "",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"404": {
|
|
"description": "",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"500": {
|
|
"description": "",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"security": [
|
|
{
|
|
"bearer": []
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"/api/SectionMap/points/{geoPointId}": {
|
|
"delete": {
|
|
"tags": [
|
|
"Section map"
|
|
],
|
|
"operationId": "SectionMap_Delete",
|
|
"parameters": [
|
|
{
|
|
"name": "geoPointId",
|
|
"in": "path",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "integer",
|
|
"format": "int32"
|
|
},
|
|
"x-position": 1
|
|
}
|
|
],
|
|
"responses": {
|
|
"202": {
|
|
"description": "",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"404": {
|
|
"description": "",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"500": {
|
|
"description": "",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"security": [
|
|
{
|
|
"bearer": []
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"/api/SectionMap/{sectionMapId}/guided-path": {
|
|
"get": {
|
|
"tags": [
|
|
"Section map"
|
|
],
|
|
"operationId": "SectionMap_GetAllGuidedPathFromSection",
|
|
"parameters": [
|
|
{
|
|
"name": "sectionMapId",
|
|
"in": "path",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"x-position": 1
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "#/components/schemas/GuidedPathDTO"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"404": {
|
|
"description": "",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"500": {
|
|
"description": "",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"post": {
|
|
"tags": [
|
|
"Section map"
|
|
],
|
|
"operationId": "SectionMap_CreateGuidedPath",
|
|
"parameters": [
|
|
{
|
|
"name": "sectionMapId",
|
|
"in": "path",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"x-position": 1
|
|
}
|
|
],
|
|
"requestBody": {
|
|
"x-name": "guidedPathDTO",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/GuidedPathDTO"
|
|
}
|
|
}
|
|
},
|
|
"required": true,
|
|
"x-position": 2
|
|
},
|
|
"responses": {
|
|
"200": {
|
|
"description": "",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/GuidedPathDTO"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"400": {
|
|
"description": "",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"409": {
|
|
"description": "",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"500": {
|
|
"description": "",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"security": [
|
|
{
|
|
"bearer": []
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"/api/SectionMap/guided-path": {
|
|
"put": {
|
|
"tags": [
|
|
"Section map"
|
|
],
|
|
"operationId": "SectionMap_UpdateGuidedPath",
|
|
"requestBody": {
|
|
"x-name": "guidedPathDTO",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/GuidedPathDTO"
|
|
}
|
|
}
|
|
},
|
|
"required": true,
|
|
"x-position": 1
|
|
},
|
|
"responses": {
|
|
"200": {
|
|
"description": "",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/GuidedPathDTO"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"400": {
|
|
"description": "",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"404": {
|
|
"description": "",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"500": {
|
|
"description": "",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"security": [
|
|
{
|
|
"bearer": []
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"/api/SectionMap/guided-path/{guidedPathId}": {
|
|
"delete": {
|
|
"tags": [
|
|
"Section map"
|
|
],
|
|
"operationId": "SectionMap_DeleteGuidedPath",
|
|
"parameters": [
|
|
{
|
|
"name": "guidedPathId",
|
|
"in": "path",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"x-position": 1
|
|
}
|
|
],
|
|
"responses": {
|
|
"202": {
|
|
"description": "",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"404": {
|
|
"description": "",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"500": {
|
|
"description": "",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"security": [
|
|
{
|
|
"bearer": []
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"/api/SectionMap/guided-path/{guidedPathId}/guided-step": {
|
|
"get": {
|
|
"tags": [
|
|
"Section map"
|
|
],
|
|
"operationId": "SectionMap_GetAllGuidedStepFromGuidedPath",
|
|
"parameters": [
|
|
{
|
|
"name": "guidedPathId",
|
|
"in": "path",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"x-position": 1
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "#/components/schemas/GuidedStepDTO"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"404": {
|
|
"description": "",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"500": {
|
|
"description": "",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"post": {
|
|
"tags": [
|
|
"Section map"
|
|
],
|
|
"operationId": "SectionMap_CreateGuidedStep",
|
|
"parameters": [
|
|
{
|
|
"name": "guidedPathId",
|
|
"in": "path",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"x-position": 1
|
|
}
|
|
],
|
|
"requestBody": {
|
|
"x-name": "guidedStepDTO",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/GuidedStepDTO"
|
|
}
|
|
}
|
|
},
|
|
"required": true,
|
|
"x-position": 2
|
|
},
|
|
"responses": {
|
|
"200": {
|
|
"description": "",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/GuidedStepDTO"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"400": {
|
|
"description": "",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"409": {
|
|
"description": "",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"500": {
|
|
"description": "",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"security": [
|
|
{
|
|
"bearer": []
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"/api/SectionMap/guided-step": {
|
|
"put": {
|
|
"tags": [
|
|
"Section map"
|
|
],
|
|
"operationId": "SectionMap_UpdateGuidedStep",
|
|
"requestBody": {
|
|
"x-name": "guidedStepDTO",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/GuidedStepDTO"
|
|
}
|
|
}
|
|
},
|
|
"required": true,
|
|
"x-position": 1
|
|
},
|
|
"responses": {
|
|
"200": {
|
|
"description": "",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/GuidedStepDTO"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"400": {
|
|
"description": "",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"404": {
|
|
"description": "",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"500": {
|
|
"description": "",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"security": [
|
|
{
|
|
"bearer": []
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"/api/SectionMap/guided-step/{guidedStepId}": {
|
|
"delete": {
|
|
"tags": [
|
|
"Section map"
|
|
],
|
|
"operationId": "SectionMap_DeleteGuidedStep",
|
|
"parameters": [
|
|
{
|
|
"name": "guidedStepId",
|
|
"in": "path",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"x-position": 1
|
|
}
|
|
],
|
|
"responses": {
|
|
"202": {
|
|
"description": "",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"404": {
|
|
"description": "",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"500": {
|
|
"description": "",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"security": [
|
|
{
|
|
"bearer": []
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"/api/SectionQuiz/{sectionId}/questions": {
|
|
"get": {
|
|
"tags": [
|
|
"Section quiz"
|
|
],
|
|
"operationId": "SectionQuiz_GetAllQuizQuestionFromSection",
|
|
"parameters": [
|
|
{
|
|
"name": "sectionId",
|
|
"in": "path",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"x-position": 1
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "#/components/schemas/QuestionDTO"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"404": {
|
|
"description": "",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"500": {
|
|
"description": "",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"post": {
|
|
"tags": [
|
|
"Section quiz"
|
|
],
|
|
"operationId": "SectionQuiz_Create",
|
|
"parameters": [
|
|
{
|
|
"name": "sectionId",
|
|
"in": "path",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"x-position": 1
|
|
}
|
|
],
|
|
"requestBody": {
|
|
"x-name": "questionDTO",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/QuestionDTO"
|
|
}
|
|
}
|
|
},
|
|
"required": true,
|
|
"x-position": 2
|
|
},
|
|
"responses": {
|
|
"200": {
|
|
"description": "",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/QuestionDTO"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"400": {
|
|
"description": "",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"409": {
|
|
"description": "",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"500": {
|
|
"description": "",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"security": [
|
|
{
|
|
"bearer": []
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"/api/SectionQuiz": {
|
|
"put": {
|
|
"tags": [
|
|
"Section quiz"
|
|
],
|
|
"operationId": "SectionQuiz_Update",
|
|
"requestBody": {
|
|
"x-name": "questionDTO",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/QuestionDTO"
|
|
}
|
|
}
|
|
},
|
|
"required": true,
|
|
"x-position": 1
|
|
},
|
|
"responses": {
|
|
"200": {
|
|
"description": "",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/QuestionDTO"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"400": {
|
|
"description": "",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"404": {
|
|
"description": "",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"500": {
|
|
"description": "",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"security": [
|
|
{
|
|
"bearer": []
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"/api/SectionQuiz/questions/delete/{quizQuestionId}": {
|
|
"delete": {
|
|
"tags": [
|
|
"Section quiz"
|
|
],
|
|
"operationId": "SectionQuiz_Delete",
|
|
"parameters": [
|
|
{
|
|
"name": "quizQuestionId",
|
|
"in": "path",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "integer",
|
|
"format": "int32"
|
|
},
|
|
"x-position": 1
|
|
}
|
|
],
|
|
"responses": {
|
|
"202": {
|
|
"description": "",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"404": {
|
|
"description": "",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"500": {
|
|
"description": "",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"security": [
|
|
{
|
|
"bearer": []
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"/api/User": {
|
|
"get": {
|
|
"tags": [
|
|
"User"
|
|
],
|
|
"operationId": "User_Get",
|
|
"responses": {
|
|
"200": {
|
|
"description": "",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "#/components/schemas/User"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"500": {
|
|
"description": "",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"security": [
|
|
{
|
|
"bearer": []
|
|
}
|
|
]
|
|
},
|
|
"post": {
|
|
"tags": [
|
|
"User"
|
|
],
|
|
"operationId": "User_CreateUser",
|
|
"requestBody": {
|
|
"x-name": "newUserDTO",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/UserDetailDTO"
|
|
}
|
|
}
|
|
},
|
|
"required": true,
|
|
"x-position": 1
|
|
},
|
|
"responses": {
|
|
"200": {
|
|
"description": "",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/UserDetailDTO"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"400": {
|
|
"description": "",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"409": {
|
|
"description": "",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"500": {
|
|
"description": "",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"security": [
|
|
{
|
|
"bearer": []
|
|
}
|
|
]
|
|
},
|
|
"put": {
|
|
"tags": [
|
|
"User"
|
|
],
|
|
"operationId": "User_UpdateUser",
|
|
"requestBody": {
|
|
"x-name": "updatedUser",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/UserDetailDTO"
|
|
}
|
|
}
|
|
},
|
|
"required": true,
|
|
"x-position": 1
|
|
},
|
|
"responses": {
|
|
"200": {
|
|
"description": "",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/UserDetailDTO"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"400": {
|
|
"description": "",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"404": {
|
|
"description": "",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"500": {
|
|
"description": "",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"security": [
|
|
{
|
|
"bearer": []
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"/api/User/{id}": {
|
|
"get": {
|
|
"tags": [
|
|
"User"
|
|
],
|
|
"operationId": "User_GetDetail",
|
|
"parameters": [
|
|
{
|
|
"name": "id",
|
|
"in": "path",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"x-position": 1
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/UserDetailDTO"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"404": {
|
|
"description": "",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"500": {
|
|
"description": "",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"security": [
|
|
{
|
|
"bearer": []
|
|
}
|
|
]
|
|
},
|
|
"delete": {
|
|
"tags": [
|
|
"User"
|
|
],
|
|
"operationId": "User_DeleteUser",
|
|
"parameters": [
|
|
{
|
|
"name": "id",
|
|
"in": "path",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"x-position": 1
|
|
}
|
|
],
|
|
"responses": {
|
|
"202": {
|
|
"description": "",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"400": {
|
|
"description": "",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"404": {
|
|
"description": "",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"500": {
|
|
"description": "",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"security": [
|
|
{
|
|
"bearer": []
|
|
}
|
|
]
|
|
}
|
|
}
|
|
},
|
|
"components": {
|
|
"schemas": {
|
|
"TokenDTO": {
|
|
"type": "object",
|
|
"additionalProperties": false,
|
|
"properties": {
|
|
"access_token": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"refresh_token": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"scope": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"token_type": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"expires_in": {
|
|
"type": "integer",
|
|
"format": "int32"
|
|
},
|
|
"expiration": {
|
|
"type": "string",
|
|
"format": "date-time"
|
|
},
|
|
"instanceId": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"pinCode": {
|
|
"type": "string",
|
|
"nullable": true
|
|
}
|
|
}
|
|
},
|
|
"LoginDTO": {
|
|
"type": "object",
|
|
"additionalProperties": false,
|
|
"properties": {
|
|
"email": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"password": {
|
|
"type": "string",
|
|
"nullable": true
|
|
}
|
|
}
|
|
},
|
|
"ApplicationInstanceDTO": {
|
|
"type": "object",
|
|
"additionalProperties": false,
|
|
"properties": {
|
|
"id": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"instanceId": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"appType": {
|
|
"$ref": "#/components/schemas/AppType"
|
|
},
|
|
"configurations": {
|
|
"type": "array",
|
|
"nullable": true,
|
|
"items": {
|
|
"$ref": "#/components/schemas/AppConfigurationLink"
|
|
}
|
|
},
|
|
"mainImageId": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"mainImageUrl": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"loaderImageId": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"loaderImageUrl": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"primaryColor": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"secondaryColor": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"languages": {
|
|
"type": "array",
|
|
"nullable": true,
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"AppType": {
|
|
"type": "integer",
|
|
"description": "0 = Mobile\n1 = Tablet\n2 = Web\n3 = VR",
|
|
"x-enumNames": [
|
|
"Mobile",
|
|
"Tablet",
|
|
"Web",
|
|
"VR"
|
|
],
|
|
"enum": [
|
|
0,
|
|
1,
|
|
2,
|
|
3
|
|
]
|
|
},
|
|
"AppConfigurationLink": {
|
|
"type": "object",
|
|
"additionalProperties": false,
|
|
"required": [
|
|
"configurationId",
|
|
"applicationInstanceId"
|
|
],
|
|
"properties": {
|
|
"id": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"configurationId": {
|
|
"type": "string",
|
|
"minLength": 1
|
|
},
|
|
"applicationInstanceId": {
|
|
"type": "string",
|
|
"minLength": 1
|
|
},
|
|
"order": {
|
|
"type": "integer",
|
|
"format": "int32",
|
|
"nullable": true
|
|
},
|
|
"isActive": {
|
|
"type": "boolean"
|
|
},
|
|
"weightMasonryGrid": {
|
|
"type": "integer",
|
|
"format": "int32",
|
|
"nullable": true
|
|
},
|
|
"isDate": {
|
|
"type": "boolean"
|
|
},
|
|
"isHour": {
|
|
"type": "boolean"
|
|
},
|
|
"roundedValue": {
|
|
"type": "integer",
|
|
"format": "int32",
|
|
"nullable": true
|
|
},
|
|
"screenPercentageSectionsMainPage": {
|
|
"type": "integer",
|
|
"format": "int32",
|
|
"nullable": true
|
|
},
|
|
"isSectionImageBackground": {
|
|
"type": "boolean"
|
|
},
|
|
"layoutMainPage": {
|
|
"$ref": "#/components/schemas/LayoutMainPageType"
|
|
},
|
|
"loaderImageId": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"loaderImageUrl": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"primaryColor": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"secondaryColor": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"configuration": {
|
|
"nullable": true,
|
|
"oneOf": [
|
|
{
|
|
"$ref": "#/components/schemas/Configuration"
|
|
}
|
|
]
|
|
},
|
|
"applicationInstance": {
|
|
"nullable": true,
|
|
"oneOf": [
|
|
{
|
|
"$ref": "#/components/schemas/ApplicationInstance"
|
|
}
|
|
]
|
|
},
|
|
"deviceId": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"device": {
|
|
"nullable": true,
|
|
"oneOf": [
|
|
{
|
|
"$ref": "#/components/schemas/Device"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
},
|
|
"LayoutMainPageType": {
|
|
"type": "integer",
|
|
"description": "0 = SimpleGrid\n1 = MasonryGrid",
|
|
"x-enumNames": [
|
|
"SimpleGrid",
|
|
"MasonryGrid"
|
|
],
|
|
"enum": [
|
|
0,
|
|
1
|
|
]
|
|
},
|
|
"Configuration": {
|
|
"type": "object",
|
|
"additionalProperties": false,
|
|
"required": [
|
|
"id",
|
|
"instanceId",
|
|
"label",
|
|
"title"
|
|
],
|
|
"properties": {
|
|
"id": {
|
|
"type": "string",
|
|
"minLength": 1
|
|
},
|
|
"instanceId": {
|
|
"type": "string",
|
|
"minLength": 1
|
|
},
|
|
"label": {
|
|
"type": "string",
|
|
"minLength": 1
|
|
},
|
|
"title": {
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "#/components/schemas/TranslationDTO"
|
|
}
|
|
},
|
|
"imageId": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"imageSource": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"primaryColor": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"secondaryColor": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"languages": {
|
|
"type": "array",
|
|
"nullable": true,
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"dateCreation": {
|
|
"type": "string",
|
|
"format": "date-time"
|
|
},
|
|
"isOffline": {
|
|
"type": "boolean"
|
|
},
|
|
"loaderImageId": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"loaderImageUrl": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"isQRCode": {
|
|
"type": "boolean"
|
|
},
|
|
"isSearchText": {
|
|
"type": "boolean"
|
|
},
|
|
"isSearchNumber": {
|
|
"type": "boolean"
|
|
}
|
|
}
|
|
},
|
|
"TranslationDTO": {
|
|
"type": "object",
|
|
"additionalProperties": false,
|
|
"properties": {
|
|
"language": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"value": {
|
|
"type": "string",
|
|
"nullable": true
|
|
}
|
|
}
|
|
},
|
|
"ApplicationInstance": {
|
|
"type": "object",
|
|
"additionalProperties": false,
|
|
"required": [
|
|
"instanceId",
|
|
"appType"
|
|
],
|
|
"properties": {
|
|
"id": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"instanceId": {
|
|
"type": "string",
|
|
"minLength": 1
|
|
},
|
|
"appType": {
|
|
"$ref": "#/components/schemas/AppType"
|
|
},
|
|
"configurations": {
|
|
"type": "array",
|
|
"nullable": true,
|
|
"items": {
|
|
"$ref": "#/components/schemas/AppConfigurationLink"
|
|
}
|
|
},
|
|
"mainImageId": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"mainImageUrl": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"loaderImageId": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"loaderImageUrl": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"primaryColor": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"secondaryColor": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"layoutMainPage": {
|
|
"$ref": "#/components/schemas/LayoutMainPageType"
|
|
},
|
|
"languages": {
|
|
"type": "array",
|
|
"nullable": true,
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"sectionEventId": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"sectionEvent": {
|
|
"nullable": true,
|
|
"oneOf": [
|
|
{
|
|
"$ref": "#/components/schemas/SectionEvent"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
},
|
|
"SectionEvent": {
|
|
"allOf": [
|
|
{
|
|
"$ref": "#/components/schemas/Section"
|
|
},
|
|
{
|
|
"type": "object",
|
|
"additionalProperties": false,
|
|
"properties": {
|
|
"startDate": {
|
|
"type": "string",
|
|
"format": "date-time"
|
|
},
|
|
"endDate": {
|
|
"type": "string",
|
|
"format": "date-time"
|
|
},
|
|
"programme": {
|
|
"type": "array",
|
|
"nullable": true,
|
|
"items": {
|
|
"$ref": "#/components/schemas/ProgrammeBlock"
|
|
}
|
|
},
|
|
"parcoursIds": {
|
|
"type": "array",
|
|
"nullable": true,
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"ProgrammeBlock": {
|
|
"type": "object",
|
|
"additionalProperties": false,
|
|
"properties": {
|
|
"id": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"title": {
|
|
"type": "array",
|
|
"nullable": true,
|
|
"items": {
|
|
"$ref": "#/components/schemas/TranslationDTO"
|
|
}
|
|
},
|
|
"description": {
|
|
"type": "array",
|
|
"nullable": true,
|
|
"items": {
|
|
"$ref": "#/components/schemas/TranslationDTO"
|
|
}
|
|
},
|
|
"startTime": {
|
|
"type": "string",
|
|
"format": "date-time"
|
|
},
|
|
"endTime": {
|
|
"type": "string",
|
|
"format": "date-time"
|
|
},
|
|
"mapAnnotations": {
|
|
"type": "array",
|
|
"nullable": true,
|
|
"items": {
|
|
"$ref": "#/components/schemas/MapAnnotation"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"MapAnnotation": {
|
|
"type": "object",
|
|
"additionalProperties": false,
|
|
"properties": {
|
|
"id": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"type": {
|
|
"type": "array",
|
|
"nullable": true,
|
|
"items": {
|
|
"$ref": "#/components/schemas/TranslationDTO"
|
|
}
|
|
},
|
|
"label": {
|
|
"type": "array",
|
|
"nullable": true,
|
|
"items": {
|
|
"$ref": "#/components/schemas/TranslationDTO"
|
|
}
|
|
},
|
|
"geometryType": {
|
|
"$ref": "#/components/schemas/GeometryType"
|
|
},
|
|
"geometry": {
|
|
"nullable": true,
|
|
"oneOf": [
|
|
{
|
|
"$ref": "#/components/schemas/Geometry"
|
|
}
|
|
]
|
|
},
|
|
"polyColor": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"icon": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"iconResourceId": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"iconResource": {
|
|
"nullable": true,
|
|
"oneOf": [
|
|
{
|
|
"$ref": "#/components/schemas/Resource"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
},
|
|
"GeometryType": {
|
|
"type": "integer",
|
|
"description": "0 = Point\n1 = Polyline\n2 = Circle\n3 = Polygon",
|
|
"x-enumNames": [
|
|
"Point",
|
|
"Polyline",
|
|
"Circle",
|
|
"Polygon"
|
|
],
|
|
"enum": [
|
|
0,
|
|
1,
|
|
2,
|
|
3
|
|
]
|
|
},
|
|
"Geometry": {
|
|
"type": "object",
|
|
"x-abstract": true,
|
|
"additionalProperties": false,
|
|
"properties": {
|
|
"factory": {
|
|
"nullable": true,
|
|
"oneOf": [
|
|
{
|
|
"$ref": "#/components/schemas/GeometryFactory"
|
|
}
|
|
]
|
|
},
|
|
"userData": {
|
|
"nullable": true
|
|
},
|
|
"srid": {
|
|
"type": "integer",
|
|
"format": "int32"
|
|
},
|
|
"precisionModel": {
|
|
"nullable": true,
|
|
"oneOf": [
|
|
{
|
|
"$ref": "#/components/schemas/PrecisionModel"
|
|
}
|
|
]
|
|
},
|
|
"numGeometries": {
|
|
"type": "integer",
|
|
"format": "int32"
|
|
},
|
|
"isSimple": {
|
|
"type": "boolean"
|
|
},
|
|
"isValid": {
|
|
"type": "boolean"
|
|
},
|
|
"area": {
|
|
"type": "number",
|
|
"format": "double"
|
|
},
|
|
"length": {
|
|
"type": "number",
|
|
"format": "double"
|
|
},
|
|
"centroid": {
|
|
"nullable": true,
|
|
"oneOf": [
|
|
{
|
|
"$ref": "#/components/schemas/Point"
|
|
}
|
|
]
|
|
},
|
|
"interiorPoint": {
|
|
"nullable": true,
|
|
"oneOf": [
|
|
{
|
|
"$ref": "#/components/schemas/Point"
|
|
}
|
|
]
|
|
},
|
|
"pointOnSurface": {
|
|
"nullable": true,
|
|
"oneOf": [
|
|
{
|
|
"$ref": "#/components/schemas/Point"
|
|
}
|
|
]
|
|
},
|
|
"envelope": {
|
|
"nullable": true,
|
|
"oneOf": [
|
|
{
|
|
"$ref": "#/components/schemas/Geometry"
|
|
}
|
|
]
|
|
},
|
|
"envelopeInternal": {
|
|
"nullable": true,
|
|
"oneOf": [
|
|
{
|
|
"$ref": "#/components/schemas/Envelope"
|
|
}
|
|
]
|
|
},
|
|
"isRectangle": {
|
|
"type": "boolean"
|
|
}
|
|
}
|
|
},
|
|
"GeometryFactory": {
|
|
"type": "object",
|
|
"additionalProperties": false,
|
|
"properties": {
|
|
"precisionModel": {
|
|
"nullable": true,
|
|
"oneOf": [
|
|
{
|
|
"$ref": "#/components/schemas/PrecisionModel"
|
|
}
|
|
]
|
|
},
|
|
"coordinateSequenceFactory": {
|
|
"nullable": true,
|
|
"oneOf": [
|
|
{
|
|
"$ref": "#/components/schemas/CoordinateSequenceFactory"
|
|
}
|
|
]
|
|
},
|
|
"srid": {
|
|
"type": "integer",
|
|
"format": "int32"
|
|
},
|
|
"geometryServices": {
|
|
"nullable": true,
|
|
"oneOf": [
|
|
{
|
|
"$ref": "#/components/schemas/NtsGeometryServices"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
},
|
|
"PrecisionModel": {
|
|
"type": "object",
|
|
"additionalProperties": false,
|
|
"properties": {
|
|
"isFloating": {
|
|
"type": "boolean"
|
|
},
|
|
"maximumSignificantDigits": {
|
|
"type": "integer",
|
|
"format": "int32"
|
|
},
|
|
"scale": {
|
|
"type": "number",
|
|
"format": "double"
|
|
},
|
|
"gridSize": {
|
|
"type": "number",
|
|
"format": "double"
|
|
},
|
|
"precisionModelType": {
|
|
"$ref": "#/components/schemas/PrecisionModels"
|
|
}
|
|
}
|
|
},
|
|
"PrecisionModels": {
|
|
"type": "integer",
|
|
"description": "0 = Floating\n1 = FloatingSingle\n2 = Fixed",
|
|
"x-enumNames": [
|
|
"Floating",
|
|
"FloatingSingle",
|
|
"Fixed"
|
|
],
|
|
"enum": [
|
|
0,
|
|
1,
|
|
2
|
|
]
|
|
},
|
|
"CoordinateSequenceFactory": {
|
|
"type": "object",
|
|
"x-abstract": true,
|
|
"additionalProperties": false,
|
|
"properties": {
|
|
"ordinates": {
|
|
"$ref": "#/components/schemas/Ordinates"
|
|
}
|
|
}
|
|
},
|
|
"Ordinates": {
|
|
"type": "integer",
|
|
"description": "0 = None\n1 = X\n1 = Spatial1\n2 = Y\n2 = Spatial2\n3 = XY\n4 = Z\n4 = Spatial3\n7 = XYZ\n8 = Spatial4\n16 = Spatial5\n32 = Spatial6\n64 = Spatial7\n128 = Spatial8\n256 = Spatial9\n512 = Spatial10\n1024 = Spatial11\n2048 = Spatial12\n4096 = Spatial13\n8192 = Spatial14\n16384 = Spatial15\n32768 = Spatial16\n65535 = AllSpatialOrdinates\n65536 = M\n65536 = Measure1\n65539 = XYM\n65543 = XYZM\n131072 = Measure2\n262144 = Measure3\n524288 = Measure4\n1048576 = Measure5\n2097152 = Measure6\n4194304 = Measure7\n8388608 = Measure8\n16777216 = Measure9\n33554432 = Measure10\n67108864 = Measure11\n134217728 = Measure12\n268435456 = Measure13\n536870912 = Measure14\n1073741824 = Measure15\n-2147483648 = Measure16\n-65536 = AllMeasureOrdinates\n-1 = AllOrdinates",
|
|
"x-enumFlags": true,
|
|
"x-enumNames": [
|
|
"None",
|
|
"X",
|
|
"Spatial1",
|
|
"Y",
|
|
"Spatial2",
|
|
"XY",
|
|
"Z",
|
|
"Spatial3",
|
|
"XYZ",
|
|
"Spatial4",
|
|
"Spatial5",
|
|
"Spatial6",
|
|
"Spatial7",
|
|
"Spatial8",
|
|
"Spatial9",
|
|
"Spatial10",
|
|
"Spatial11",
|
|
"Spatial12",
|
|
"Spatial13",
|
|
"Spatial14",
|
|
"Spatial15",
|
|
"Spatial16",
|
|
"AllSpatialOrdinates",
|
|
"M",
|
|
"Measure1",
|
|
"XYM",
|
|
"XYZM",
|
|
"Measure2",
|
|
"Measure3",
|
|
"Measure4",
|
|
"Measure5",
|
|
"Measure6",
|
|
"Measure7",
|
|
"Measure8",
|
|
"Measure9",
|
|
"Measure10",
|
|
"Measure11",
|
|
"Measure12",
|
|
"Measure13",
|
|
"Measure14",
|
|
"Measure15",
|
|
"Measure16",
|
|
"AllMeasureOrdinates",
|
|
"AllOrdinates"
|
|
],
|
|
"enum": [
|
|
0,
|
|
1,
|
|
1,
|
|
2,
|
|
2,
|
|
3,
|
|
4,
|
|
4,
|
|
7,
|
|
8,
|
|
16,
|
|
32,
|
|
64,
|
|
128,
|
|
256,
|
|
512,
|
|
1024,
|
|
2048,
|
|
4096,
|
|
8192,
|
|
16384,
|
|
32768,
|
|
65535,
|
|
65536,
|
|
65536,
|
|
65539,
|
|
65543,
|
|
131072,
|
|
262144,
|
|
524288,
|
|
1048576,
|
|
2097152,
|
|
4194304,
|
|
8388608,
|
|
16777216,
|
|
33554432,
|
|
67108864,
|
|
134217728,
|
|
268435456,
|
|
536870912,
|
|
1073741824,
|
|
-2147483648,
|
|
-65536,
|
|
-1
|
|
]
|
|
},
|
|
"NtsGeometryServices": {
|
|
"type": "object",
|
|
"additionalProperties": false,
|
|
"properties": {
|
|
"geometryOverlay": {
|
|
"nullable": true,
|
|
"oneOf": [
|
|
{
|
|
"$ref": "#/components/schemas/GeometryOverlay"
|
|
}
|
|
]
|
|
},
|
|
"coordinateEqualityComparer": {
|
|
"nullable": true,
|
|
"oneOf": [
|
|
{
|
|
"$ref": "#/components/schemas/CoordinateEqualityComparer"
|
|
}
|
|
]
|
|
},
|
|
"defaultSRID": {
|
|
"type": "integer",
|
|
"format": "int32"
|
|
},
|
|
"defaultCoordinateSequenceFactory": {
|
|
"nullable": true,
|
|
"oneOf": [
|
|
{
|
|
"$ref": "#/components/schemas/CoordinateSequenceFactory"
|
|
}
|
|
]
|
|
},
|
|
"defaultPrecisionModel": {
|
|
"nullable": true,
|
|
"oneOf": [
|
|
{
|
|
"$ref": "#/components/schemas/PrecisionModel"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
},
|
|
"GeometryOverlay": {
|
|
"type": "object",
|
|
"x-abstract": true,
|
|
"additionalProperties": false
|
|
},
|
|
"CoordinateEqualityComparer": {
|
|
"allOf": [
|
|
{
|
|
"$ref": "#/components/schemas/EqualityComparerOfCoordinate"
|
|
},
|
|
{
|
|
"type": "object",
|
|
"additionalProperties": false
|
|
}
|
|
]
|
|
},
|
|
"EqualityComparerOfCoordinate": {
|
|
"type": "object",
|
|
"x-abstract": true,
|
|
"additionalProperties": false
|
|
},
|
|
"Point": {
|
|
"allOf": [
|
|
{
|
|
"$ref": "#/components/schemas/Geometry"
|
|
},
|
|
{
|
|
"type": "object",
|
|
"additionalProperties": false,
|
|
"properties": {
|
|
"coordinateSequence": {
|
|
"nullable": true,
|
|
"oneOf": [
|
|
{
|
|
"$ref": "#/components/schemas/CoordinateSequence"
|
|
}
|
|
]
|
|
},
|
|
"coordinates": {
|
|
"type": "array",
|
|
"nullable": true,
|
|
"items": {
|
|
"$ref": "#/components/schemas/Coordinate"
|
|
}
|
|
},
|
|
"numPoints": {
|
|
"type": "integer",
|
|
"format": "int32"
|
|
},
|
|
"isEmpty": {
|
|
"type": "boolean"
|
|
},
|
|
"dimension": {
|
|
"$ref": "#/components/schemas/Dimension"
|
|
},
|
|
"boundaryDimension": {
|
|
"$ref": "#/components/schemas/Dimension"
|
|
},
|
|
"x": {
|
|
"type": "number",
|
|
"format": "double"
|
|
},
|
|
"y": {
|
|
"type": "number",
|
|
"format": "double"
|
|
},
|
|
"coordinate": {
|
|
"nullable": true,
|
|
"oneOf": [
|
|
{
|
|
"$ref": "#/components/schemas/Coordinate"
|
|
}
|
|
]
|
|
},
|
|
"geometryType": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"ogcGeometryType": {
|
|
"$ref": "#/components/schemas/OgcGeometryType"
|
|
},
|
|
"boundary": {
|
|
"nullable": true,
|
|
"oneOf": [
|
|
{
|
|
"$ref": "#/components/schemas/Geometry"
|
|
}
|
|
]
|
|
},
|
|
"z": {
|
|
"type": "number",
|
|
"format": "double"
|
|
},
|
|
"m": {
|
|
"type": "number",
|
|
"format": "double"
|
|
}
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"CoordinateSequence": {
|
|
"type": "object",
|
|
"x-abstract": true,
|
|
"additionalProperties": false,
|
|
"properties": {
|
|
"dimension": {
|
|
"type": "integer",
|
|
"format": "int32"
|
|
},
|
|
"measures": {
|
|
"type": "integer",
|
|
"format": "int32"
|
|
},
|
|
"spatial": {
|
|
"type": "integer",
|
|
"format": "int32"
|
|
},
|
|
"ordinates": {
|
|
"$ref": "#/components/schemas/Ordinates"
|
|
},
|
|
"hasZ": {
|
|
"type": "boolean"
|
|
},
|
|
"hasM": {
|
|
"type": "boolean"
|
|
},
|
|
"zOrdinateIndex": {
|
|
"type": "integer",
|
|
"format": "int32"
|
|
},
|
|
"mOrdinateIndex": {
|
|
"type": "integer",
|
|
"format": "int32"
|
|
},
|
|
"first": {
|
|
"nullable": true,
|
|
"oneOf": [
|
|
{
|
|
"$ref": "#/components/schemas/Coordinate"
|
|
}
|
|
]
|
|
},
|
|
"last": {
|
|
"nullable": true,
|
|
"oneOf": [
|
|
{
|
|
"$ref": "#/components/schemas/Coordinate"
|
|
}
|
|
]
|
|
},
|
|
"count": {
|
|
"type": "integer",
|
|
"format": "int32"
|
|
}
|
|
}
|
|
},
|
|
"Coordinate": {
|
|
"type": "object",
|
|
"additionalProperties": false,
|
|
"properties": {
|
|
"x": {
|
|
"type": "number",
|
|
"format": "double"
|
|
},
|
|
"y": {
|
|
"type": "number",
|
|
"format": "double"
|
|
},
|
|
"z": {
|
|
"type": "number",
|
|
"format": "double"
|
|
},
|
|
"m": {
|
|
"type": "number",
|
|
"format": "double"
|
|
},
|
|
"coordinateValue": {
|
|
"nullable": true,
|
|
"oneOf": [
|
|
{
|
|
"$ref": "#/components/schemas/Coordinate"
|
|
}
|
|
]
|
|
},
|
|
"isValid": {
|
|
"type": "boolean"
|
|
}
|
|
}
|
|
},
|
|
"Dimension": {
|
|
"type": "integer",
|
|
"description": "0 = Point\n0 = P\n1 = Curve\n1 = L\n2 = Surface\n2 = A\n3 = Collapse\n-3 = Dontcare\n-2 = True\n-1 = False\n-1 = Unknown",
|
|
"x-enumNames": [
|
|
"Point",
|
|
"P",
|
|
"Curve",
|
|
"L",
|
|
"Surface",
|
|
"A",
|
|
"Collapse",
|
|
"Dontcare",
|
|
"True",
|
|
"False",
|
|
"Unknown"
|
|
],
|
|
"enum": [
|
|
0,
|
|
0,
|
|
1,
|
|
1,
|
|
2,
|
|
2,
|
|
3,
|
|
-3,
|
|
-2,
|
|
-1,
|
|
-1
|
|
]
|
|
},
|
|
"OgcGeometryType": {
|
|
"type": "integer",
|
|
"description": "1 = Point\n2 = LineString\n3 = Polygon\n4 = MultiPoint\n5 = MultiLineString\n6 = MultiPolygon\n7 = GeometryCollection\n8 = CircularString\n9 = CompoundCurve\n10 = CurvePolygon\n11 = MultiCurve\n12 = MultiSurface\n13 = Curve\n14 = Surface\n15 = PolyhedralSurface\n16 = TIN",
|
|
"x-enumNames": [
|
|
"Point",
|
|
"LineString",
|
|
"Polygon",
|
|
"MultiPoint",
|
|
"MultiLineString",
|
|
"MultiPolygon",
|
|
"GeometryCollection",
|
|
"CircularString",
|
|
"CompoundCurve",
|
|
"CurvePolygon",
|
|
"MultiCurve",
|
|
"MultiSurface",
|
|
"Curve",
|
|
"Surface",
|
|
"PolyhedralSurface",
|
|
"TIN"
|
|
],
|
|
"enum": [
|
|
1,
|
|
2,
|
|
3,
|
|
4,
|
|
5,
|
|
6,
|
|
7,
|
|
8,
|
|
9,
|
|
10,
|
|
11,
|
|
12,
|
|
13,
|
|
14,
|
|
15,
|
|
16
|
|
]
|
|
},
|
|
"Envelope": {
|
|
"type": "object",
|
|
"additionalProperties": false,
|
|
"properties": {
|
|
"isNull": {
|
|
"type": "boolean"
|
|
},
|
|
"width": {
|
|
"type": "number",
|
|
"format": "double"
|
|
},
|
|
"height": {
|
|
"type": "number",
|
|
"format": "double"
|
|
},
|
|
"diameter": {
|
|
"type": "number",
|
|
"format": "double"
|
|
},
|
|
"minX": {
|
|
"type": "number",
|
|
"format": "double"
|
|
},
|
|
"maxX": {
|
|
"type": "number",
|
|
"format": "double"
|
|
},
|
|
"minY": {
|
|
"type": "number",
|
|
"format": "double"
|
|
},
|
|
"maxY": {
|
|
"type": "number",
|
|
"format": "double"
|
|
},
|
|
"area": {
|
|
"type": "number",
|
|
"format": "double"
|
|
},
|
|
"minExtent": {
|
|
"type": "number",
|
|
"format": "double"
|
|
},
|
|
"maxExtent": {
|
|
"type": "number",
|
|
"format": "double"
|
|
},
|
|
"centre": {
|
|
"nullable": true,
|
|
"oneOf": [
|
|
{
|
|
"$ref": "#/components/schemas/Coordinate"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
},
|
|
"Resource": {
|
|
"type": "object",
|
|
"additionalProperties": false,
|
|
"required": [
|
|
"id",
|
|
"type",
|
|
"label",
|
|
"instanceId"
|
|
],
|
|
"properties": {
|
|
"id": {
|
|
"type": "string",
|
|
"minLength": 1
|
|
},
|
|
"type": {
|
|
"$ref": "#/components/schemas/ResourceType"
|
|
},
|
|
"label": {
|
|
"type": "string",
|
|
"minLength": 1
|
|
},
|
|
"dateCreation": {
|
|
"type": "string",
|
|
"format": "date-time"
|
|
},
|
|
"instanceId": {
|
|
"type": "string",
|
|
"minLength": 1
|
|
},
|
|
"url": {
|
|
"type": "string",
|
|
"nullable": true
|
|
}
|
|
}
|
|
},
|
|
"ResourceType": {
|
|
"type": "integer",
|
|
"description": "0 = Image\n1 = Video\n2 = ImageUrl\n3 = VideoUrl\n4 = Audio\n5 = PDF\n6 = JSON\n7 = JSONUrl",
|
|
"x-enumNames": [
|
|
"Image",
|
|
"Video",
|
|
"ImageUrl",
|
|
"VideoUrl",
|
|
"Audio",
|
|
"PDF",
|
|
"JSON",
|
|
"JSONUrl"
|
|
],
|
|
"enum": [
|
|
0,
|
|
1,
|
|
2,
|
|
3,
|
|
4,
|
|
5,
|
|
6,
|
|
7
|
|
]
|
|
},
|
|
"Section": {
|
|
"type": "object",
|
|
"additionalProperties": false,
|
|
"required": [
|
|
"id",
|
|
"label",
|
|
"title",
|
|
"configurationId",
|
|
"type",
|
|
"isSubSection",
|
|
"instanceId"
|
|
],
|
|
"properties": {
|
|
"id": {
|
|
"type": "string",
|
|
"minLength": 1
|
|
},
|
|
"label": {
|
|
"type": "string",
|
|
"minLength": 1
|
|
},
|
|
"title": {
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "#/components/schemas/TranslationDTO"
|
|
}
|
|
},
|
|
"description": {
|
|
"type": "array",
|
|
"nullable": true,
|
|
"items": {
|
|
"$ref": "#/components/schemas/TranslationDTO"
|
|
}
|
|
},
|
|
"order": {
|
|
"type": "integer",
|
|
"format": "int32"
|
|
},
|
|
"configurationId": {
|
|
"type": "string",
|
|
"minLength": 1
|
|
},
|
|
"imageId": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"imageSource": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"type": {
|
|
"$ref": "#/components/schemas/SectionType"
|
|
},
|
|
"isSubSection": {
|
|
"type": "boolean"
|
|
},
|
|
"parentId": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"dateCreation": {
|
|
"type": "string",
|
|
"format": "date-time"
|
|
},
|
|
"instanceId": {
|
|
"type": "string",
|
|
"minLength": 1
|
|
},
|
|
"isBeacon": {
|
|
"type": "boolean"
|
|
},
|
|
"beaconId": {
|
|
"type": "integer",
|
|
"format": "int32",
|
|
"nullable": true
|
|
},
|
|
"latitude": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"longitude": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"meterZoneGPS": {
|
|
"type": "integer",
|
|
"format": "int32",
|
|
"nullable": true
|
|
},
|
|
"isActive": {
|
|
"type": "boolean"
|
|
}
|
|
}
|
|
},
|
|
"SectionType": {
|
|
"type": "integer",
|
|
"description": "0 = Map\n1 = Slider\n2 = Video\n3 = Web\n4 = Menu\n5 = Quiz\n6 = Article\n7 = PDF\n8 = Puzzle\n9 = Agenda\n10 = Weather\n11 = Event",
|
|
"x-enumNames": [
|
|
"Map",
|
|
"Slider",
|
|
"Video",
|
|
"Web",
|
|
"Menu",
|
|
"Quiz",
|
|
"Article",
|
|
"PDF",
|
|
"Puzzle",
|
|
"Agenda",
|
|
"Weather",
|
|
"Event"
|
|
],
|
|
"enum": [
|
|
0,
|
|
1,
|
|
2,
|
|
3,
|
|
4,
|
|
5,
|
|
6,
|
|
7,
|
|
8,
|
|
9,
|
|
10,
|
|
11
|
|
]
|
|
},
|
|
"Device": {
|
|
"type": "object",
|
|
"additionalProperties": false,
|
|
"required": [
|
|
"id",
|
|
"configurationId",
|
|
"connected",
|
|
"instanceId"
|
|
],
|
|
"properties": {
|
|
"id": {
|
|
"type": "string",
|
|
"minLength": 1
|
|
},
|
|
"identifier": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"name": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"ipAddressWLAN": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"ipAddressETH": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"configuration": {
|
|
"nullable": true,
|
|
"oneOf": [
|
|
{
|
|
"$ref": "#/components/schemas/Configuration"
|
|
}
|
|
]
|
|
},
|
|
"configurationId": {
|
|
"type": "string",
|
|
"minLength": 1
|
|
},
|
|
"connected": {
|
|
"type": "boolean"
|
|
},
|
|
"dateCreation": {
|
|
"type": "string",
|
|
"format": "date-time"
|
|
},
|
|
"dateUpdate": {
|
|
"type": "string",
|
|
"format": "date-time"
|
|
},
|
|
"batteryLevel": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"lastBatteryLevel": {
|
|
"type": "string",
|
|
"format": "date-time"
|
|
},
|
|
"connectionLevel": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"lastConnectionLevel": {
|
|
"type": "string",
|
|
"format": "date-time"
|
|
},
|
|
"instanceId": {
|
|
"type": "string",
|
|
"minLength": 1
|
|
}
|
|
}
|
|
},
|
|
"AppConfigurationLinkDTO": {
|
|
"type": "object",
|
|
"additionalProperties": false,
|
|
"properties": {
|
|
"id": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"configurationId": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"configuration": {
|
|
"nullable": true,
|
|
"oneOf": [
|
|
{
|
|
"$ref": "#/components/schemas/ConfigurationDTO"
|
|
}
|
|
]
|
|
},
|
|
"applicationInstanceId": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"order": {
|
|
"type": "integer",
|
|
"format": "int32",
|
|
"nullable": true
|
|
},
|
|
"isActive": {
|
|
"type": "boolean"
|
|
},
|
|
"weightMasonryGrid": {
|
|
"type": "integer",
|
|
"format": "int32",
|
|
"nullable": true
|
|
},
|
|
"isDate": {
|
|
"type": "boolean"
|
|
},
|
|
"isHour": {
|
|
"type": "boolean"
|
|
},
|
|
"roundedValue": {
|
|
"type": "integer",
|
|
"format": "int32",
|
|
"nullable": true
|
|
},
|
|
"screenPercentageSectionsMainPage": {
|
|
"type": "integer",
|
|
"format": "int32",
|
|
"nullable": true
|
|
},
|
|
"isSectionImageBackground": {
|
|
"type": "boolean"
|
|
},
|
|
"deviceId": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"device": {
|
|
"nullable": true,
|
|
"oneOf": [
|
|
{
|
|
"$ref": "#/components/schemas/DeviceDTO"
|
|
}
|
|
]
|
|
},
|
|
"layoutMainPage": {
|
|
"$ref": "#/components/schemas/LayoutMainPageType"
|
|
},
|
|
"loaderImageId": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"loaderImageUrl": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"primaryColor": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"secondaryColor": {
|
|
"type": "string",
|
|
"nullable": true
|
|
}
|
|
}
|
|
},
|
|
"ConfigurationDTO": {
|
|
"type": "object",
|
|
"additionalProperties": false,
|
|
"properties": {
|
|
"id": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"instanceId": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"label": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"title": {
|
|
"type": "array",
|
|
"nullable": true,
|
|
"items": {
|
|
"$ref": "#/components/schemas/TranslationDTO"
|
|
}
|
|
},
|
|
"imageId": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"imageSource": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"primaryColor": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"secondaryColor": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"languages": {
|
|
"type": "array",
|
|
"nullable": true,
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"dateCreation": {
|
|
"type": "string",
|
|
"format": "date-time"
|
|
},
|
|
"isOffline": {
|
|
"type": "boolean"
|
|
},
|
|
"sectionIds": {
|
|
"type": "array",
|
|
"nullable": true,
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"loaderImageId": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"loaderImageUrl": {
|
|
"type": "string",
|
|
"nullable": true
|
|
}
|
|
}
|
|
},
|
|
"DeviceDTO": {
|
|
"type": "object",
|
|
"additionalProperties": false,
|
|
"properties": {
|
|
"id": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"identifier": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"name": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"ipAddressWLAN": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"ipAddressETH": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"configurationId": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"configuration": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"connected": {
|
|
"type": "boolean"
|
|
},
|
|
"dateCreation": {
|
|
"type": "string",
|
|
"format": "date-time",
|
|
"nullable": true
|
|
},
|
|
"dateUpdate": {
|
|
"type": "string",
|
|
"format": "date-time",
|
|
"nullable": true
|
|
},
|
|
"instanceId": {
|
|
"type": "string",
|
|
"nullable": true
|
|
}
|
|
}
|
|
},
|
|
"ExportConfigurationDTO": {
|
|
"allOf": [
|
|
{
|
|
"$ref": "#/components/schemas/ConfigurationDTO"
|
|
},
|
|
{
|
|
"type": "object",
|
|
"additionalProperties": false,
|
|
"properties": {
|
|
"sections": {
|
|
"type": "array",
|
|
"nullable": true,
|
|
"items": {
|
|
"$ref": "#/components/schemas/SectionDTO"
|
|
}
|
|
},
|
|
"resources": {
|
|
"type": "array",
|
|
"nullable": true,
|
|
"items": {
|
|
"$ref": "#/components/schemas/ResourceDTO"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"SectionDTO": {
|
|
"type": "object",
|
|
"additionalProperties": false,
|
|
"properties": {
|
|
"id": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"label": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"title": {
|
|
"type": "array",
|
|
"nullable": true,
|
|
"items": {
|
|
"$ref": "#/components/schemas/TranslationDTO"
|
|
}
|
|
},
|
|
"description": {
|
|
"type": "array",
|
|
"nullable": true,
|
|
"items": {
|
|
"$ref": "#/components/schemas/TranslationDTO"
|
|
}
|
|
},
|
|
"isActive": {
|
|
"type": "boolean"
|
|
},
|
|
"imageId": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"imageSource": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"configurationId": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"isSubSection": {
|
|
"type": "boolean"
|
|
},
|
|
"parentId": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"type": {
|
|
"$ref": "#/components/schemas/SectionType"
|
|
},
|
|
"dateCreation": {
|
|
"type": "string",
|
|
"format": "date-time",
|
|
"nullable": true
|
|
},
|
|
"order": {
|
|
"type": "integer",
|
|
"format": "int32",
|
|
"nullable": true
|
|
},
|
|
"instanceId": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"latitude": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"longitude": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"meterZoneGPS": {
|
|
"type": "integer",
|
|
"format": "int32",
|
|
"nullable": true
|
|
},
|
|
"isBeacon": {
|
|
"type": "boolean"
|
|
},
|
|
"beaconId": {
|
|
"type": "integer",
|
|
"format": "int32",
|
|
"nullable": true
|
|
}
|
|
}
|
|
},
|
|
"ResourceDTO": {
|
|
"type": "object",
|
|
"additionalProperties": false,
|
|
"properties": {
|
|
"id": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"type": {
|
|
"$ref": "#/components/schemas/ResourceType"
|
|
},
|
|
"label": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"url": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"dateCreation": {
|
|
"type": "string",
|
|
"format": "date-time"
|
|
},
|
|
"instanceId": {
|
|
"type": "string",
|
|
"nullable": true
|
|
}
|
|
}
|
|
},
|
|
"DeviceDetailDTO": {
|
|
"allOf": [
|
|
{
|
|
"$ref": "#/components/schemas/DeviceDTO"
|
|
},
|
|
{
|
|
"type": "object",
|
|
"additionalProperties": false,
|
|
"properties": {
|
|
"connectionLevel": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"lastConnectionLevel": {
|
|
"type": "string",
|
|
"format": "date-time"
|
|
},
|
|
"batteryLevel": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"lastBatteryLevel": {
|
|
"type": "string",
|
|
"format": "date-time"
|
|
}
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"Instance": {
|
|
"type": "object",
|
|
"additionalProperties": false,
|
|
"required": [
|
|
"id",
|
|
"name"
|
|
],
|
|
"properties": {
|
|
"id": {
|
|
"type": "string",
|
|
"minLength": 1
|
|
},
|
|
"name": {
|
|
"type": "string",
|
|
"minLength": 1
|
|
},
|
|
"dateCreation": {
|
|
"type": "string",
|
|
"format": "date-time"
|
|
},
|
|
"pinCode": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"isPushNotification": {
|
|
"type": "boolean"
|
|
},
|
|
"isStatistic": {
|
|
"type": "boolean"
|
|
},
|
|
"isMobile": {
|
|
"type": "boolean"
|
|
},
|
|
"isTablet": {
|
|
"type": "boolean"
|
|
},
|
|
"isWeb": {
|
|
"type": "boolean"
|
|
},
|
|
"isVR": {
|
|
"type": "boolean"
|
|
}
|
|
}
|
|
},
|
|
"InstanceDTO": {
|
|
"type": "object",
|
|
"additionalProperties": false,
|
|
"properties": {
|
|
"id": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"name": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"dateCreation": {
|
|
"type": "string",
|
|
"format": "date-time",
|
|
"nullable": true
|
|
},
|
|
"pinCode": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"isPushNotification": {
|
|
"type": "boolean"
|
|
},
|
|
"isStatistic": {
|
|
"type": "boolean"
|
|
},
|
|
"isMobile": {
|
|
"type": "boolean"
|
|
},
|
|
"isTablet": {
|
|
"type": "boolean"
|
|
},
|
|
"isWeb": {
|
|
"type": "boolean"
|
|
},
|
|
"isVR": {
|
|
"type": "boolean"
|
|
},
|
|
"applicationInstanceDTOs": {
|
|
"type": "array",
|
|
"nullable": true,
|
|
"items": {
|
|
"$ref": "#/components/schemas/ApplicationInstanceDTO"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"EventAgendaDTO": {
|
|
"type": "object",
|
|
"additionalProperties": false,
|
|
"properties": {
|
|
"id": {
|
|
"type": "integer",
|
|
"format": "int32"
|
|
},
|
|
"label": {
|
|
"type": "array",
|
|
"nullable": true,
|
|
"items": {
|
|
"$ref": "#/components/schemas/TranslationDTO"
|
|
}
|
|
},
|
|
"description": {
|
|
"type": "array",
|
|
"nullable": true,
|
|
"items": {
|
|
"$ref": "#/components/schemas/TranslationDTO"
|
|
}
|
|
},
|
|
"type": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"dateAdded": {
|
|
"type": "string",
|
|
"format": "date-time",
|
|
"nullable": true
|
|
},
|
|
"dateFrom": {
|
|
"type": "string",
|
|
"format": "date-time",
|
|
"nullable": true
|
|
},
|
|
"dateTo": {
|
|
"type": "string",
|
|
"format": "date-time",
|
|
"nullable": true
|
|
},
|
|
"website": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"resourceId": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"resource": {
|
|
"nullable": true,
|
|
"oneOf": [
|
|
{
|
|
"$ref": "#/components/schemas/ResourceDTO"
|
|
}
|
|
]
|
|
},
|
|
"address": {
|
|
"nullable": true,
|
|
"oneOf": [
|
|
{
|
|
"$ref": "#/components/schemas/EventAddressDTO"
|
|
}
|
|
]
|
|
},
|
|
"phone": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"email": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"sectionAgendaId": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"sectionEventId": {
|
|
"type": "string",
|
|
"nullable": true
|
|
}
|
|
}
|
|
},
|
|
"EventAddressDTO": {
|
|
"type": "object",
|
|
"additionalProperties": false,
|
|
"properties": {
|
|
"address": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"streetNumber": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"streetName": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"city": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"state": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"postCode": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"country": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"geometry": {
|
|
"nullable": true,
|
|
"oneOf": [
|
|
{
|
|
"$ref": "#/components/schemas/GeometryDTO"
|
|
}
|
|
]
|
|
},
|
|
"polyColor": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"zoom": {
|
|
"type": "integer",
|
|
"format": "int32"
|
|
}
|
|
}
|
|
},
|
|
"GeometryDTO": {
|
|
"type": "object",
|
|
"additionalProperties": false,
|
|
"properties": {
|
|
"type": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"coordinates": {
|
|
"nullable": true
|
|
}
|
|
}
|
|
},
|
|
"MapDTO": {
|
|
"allOf": [
|
|
{
|
|
"$ref": "#/components/schemas/SectionDTO"
|
|
},
|
|
{
|
|
"type": "object",
|
|
"additionalProperties": false,
|
|
"properties": {
|
|
"zoom": {
|
|
"type": "integer",
|
|
"format": "int32"
|
|
},
|
|
"mapType": {
|
|
"nullable": true,
|
|
"oneOf": [
|
|
{
|
|
"$ref": "#/components/schemas/MapTypeApp"
|
|
}
|
|
]
|
|
},
|
|
"mapTypeMapbox": {
|
|
"nullable": true,
|
|
"oneOf": [
|
|
{
|
|
"$ref": "#/components/schemas/MapTypeMapBox"
|
|
}
|
|
]
|
|
},
|
|
"mapProvider": {
|
|
"nullable": true,
|
|
"oneOf": [
|
|
{
|
|
"$ref": "#/components/schemas/MapProvider"
|
|
}
|
|
]
|
|
},
|
|
"points": {
|
|
"type": "array",
|
|
"nullable": true,
|
|
"items": {
|
|
"$ref": "#/components/schemas/GeoPointDTO"
|
|
}
|
|
},
|
|
"iconResourceId": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"iconSource": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"categories": {
|
|
"type": "array",
|
|
"nullable": true,
|
|
"items": {
|
|
"$ref": "#/components/schemas/CategorieDTO"
|
|
}
|
|
},
|
|
"centerLatitude": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"centerLongitude": {
|
|
"type": "string",
|
|
"nullable": true
|
|
}
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"MapTypeApp": {
|
|
"type": "integer",
|
|
"description": "0 = none\n1 = normal\n2 = satellite\n3 = terrain\n4 = hybrid",
|
|
"x-enumNames": [
|
|
"none",
|
|
"normal",
|
|
"satellite",
|
|
"terrain",
|
|
"hybrid"
|
|
],
|
|
"enum": [
|
|
0,
|
|
1,
|
|
2,
|
|
3,
|
|
4
|
|
]
|
|
},
|
|
"MapTypeMapBox": {
|
|
"type": "integer",
|
|
"description": "0 = standard\n1 = streets\n2 = outdoors\n3 = light\n4 = dark\n5 = satellite\n6 = satellite_streets",
|
|
"x-enumNames": [
|
|
"standard",
|
|
"streets",
|
|
"outdoors",
|
|
"light",
|
|
"dark",
|
|
"satellite",
|
|
"satellite_streets"
|
|
],
|
|
"enum": [
|
|
0,
|
|
1,
|
|
2,
|
|
3,
|
|
4,
|
|
5,
|
|
6
|
|
]
|
|
},
|
|
"MapProvider": {
|
|
"type": "integer",
|
|
"description": "0 = Google\n1 = MapBox",
|
|
"x-enumNames": [
|
|
"Google",
|
|
"MapBox"
|
|
],
|
|
"enum": [
|
|
0,
|
|
1
|
|
]
|
|
},
|
|
"GeoPointDTO": {
|
|
"type": "object",
|
|
"additionalProperties": false,
|
|
"properties": {
|
|
"id": {
|
|
"type": "integer",
|
|
"format": "int32",
|
|
"nullable": true
|
|
},
|
|
"title": {
|
|
"type": "array",
|
|
"nullable": true,
|
|
"items": {
|
|
"$ref": "#/components/schemas/TranslationDTO"
|
|
}
|
|
},
|
|
"description": {
|
|
"type": "array",
|
|
"nullable": true,
|
|
"items": {
|
|
"$ref": "#/components/schemas/TranslationDTO"
|
|
}
|
|
},
|
|
"contents": {
|
|
"type": "array",
|
|
"nullable": true,
|
|
"items": {
|
|
"$ref": "#/components/schemas/ContentDTO"
|
|
}
|
|
},
|
|
"categorieId": {
|
|
"type": "integer",
|
|
"format": "int32",
|
|
"nullable": true
|
|
},
|
|
"imageResourceId": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"imageUrl": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"schedules": {
|
|
"type": "array",
|
|
"nullable": true,
|
|
"items": {
|
|
"$ref": "#/components/schemas/TranslationDTO"
|
|
}
|
|
},
|
|
"prices": {
|
|
"type": "array",
|
|
"nullable": true,
|
|
"items": {
|
|
"$ref": "#/components/schemas/TranslationDTO"
|
|
}
|
|
},
|
|
"phone": {
|
|
"type": "array",
|
|
"nullable": true,
|
|
"items": {
|
|
"$ref": "#/components/schemas/TranslationDTO"
|
|
}
|
|
},
|
|
"email": {
|
|
"type": "array",
|
|
"nullable": true,
|
|
"items": {
|
|
"$ref": "#/components/schemas/TranslationDTO"
|
|
}
|
|
},
|
|
"site": {
|
|
"type": "array",
|
|
"nullable": true,
|
|
"items": {
|
|
"$ref": "#/components/schemas/TranslationDTO"
|
|
}
|
|
},
|
|
"geometry": {
|
|
"nullable": true,
|
|
"oneOf": [
|
|
{
|
|
"$ref": "#/components/schemas/GeometryDTO"
|
|
}
|
|
]
|
|
},
|
|
"polyColor": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"sectionMapId": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"sectionEventId": {
|
|
"type": "string",
|
|
"nullable": true
|
|
}
|
|
}
|
|
},
|
|
"ContentDTO": {
|
|
"type": "object",
|
|
"additionalProperties": false,
|
|
"properties": {
|
|
"title": {
|
|
"type": "array",
|
|
"nullable": true,
|
|
"items": {
|
|
"$ref": "#/components/schemas/TranslationDTO"
|
|
}
|
|
},
|
|
"description": {
|
|
"type": "array",
|
|
"nullable": true,
|
|
"items": {
|
|
"$ref": "#/components/schemas/TranslationDTO"
|
|
}
|
|
},
|
|
"order": {
|
|
"type": "integer",
|
|
"format": "int32"
|
|
},
|
|
"resourceId": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"resource": {
|
|
"nullable": true,
|
|
"oneOf": [
|
|
{
|
|
"$ref": "#/components/schemas/ResourceDTO"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
},
|
|
"CategorieDTO": {
|
|
"type": "object",
|
|
"additionalProperties": false,
|
|
"properties": {
|
|
"id": {
|
|
"type": "integer",
|
|
"format": "int32"
|
|
},
|
|
"label": {
|
|
"type": "array",
|
|
"nullable": true,
|
|
"items": {
|
|
"$ref": "#/components/schemas/TranslationDTO"
|
|
}
|
|
},
|
|
"icon": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"resourceDTO": {
|
|
"nullable": true,
|
|
"oneOf": [
|
|
{
|
|
"$ref": "#/components/schemas/ResourceDTO"
|
|
}
|
|
]
|
|
},
|
|
"order": {
|
|
"type": "integer",
|
|
"format": "int32",
|
|
"nullable": true
|
|
}
|
|
}
|
|
},
|
|
"SliderDTO": {
|
|
"allOf": [
|
|
{
|
|
"$ref": "#/components/schemas/SectionDTO"
|
|
},
|
|
{
|
|
"type": "object",
|
|
"additionalProperties": false,
|
|
"properties": {
|
|
"contents": {
|
|
"type": "array",
|
|
"nullable": true,
|
|
"items": {
|
|
"$ref": "#/components/schemas/ContentDTO"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"VideoDTO": {
|
|
"allOf": [
|
|
{
|
|
"$ref": "#/components/schemas/SectionDTO"
|
|
},
|
|
{
|
|
"type": "object",
|
|
"additionalProperties": false,
|
|
"properties": {
|
|
"source": {
|
|
"type": "string",
|
|
"nullable": true
|
|
}
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"WebDTO": {
|
|
"allOf": [
|
|
{
|
|
"$ref": "#/components/schemas/SectionDTO"
|
|
},
|
|
{
|
|
"type": "object",
|
|
"additionalProperties": false,
|
|
"properties": {
|
|
"source": {
|
|
"type": "string",
|
|
"nullable": true
|
|
}
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"MenuDTO": {
|
|
"allOf": [
|
|
{
|
|
"$ref": "#/components/schemas/SectionDTO"
|
|
},
|
|
{
|
|
"type": "object",
|
|
"additionalProperties": false,
|
|
"properties": {
|
|
"sections": {
|
|
"type": "array",
|
|
"nullable": true,
|
|
"items": {}
|
|
}
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"PlayerMessageDTO": {
|
|
"type": "object",
|
|
"additionalProperties": false,
|
|
"properties": {
|
|
"configChanged": {
|
|
"type": "boolean"
|
|
},
|
|
"isDeleted": {
|
|
"type": "boolean"
|
|
}
|
|
}
|
|
},
|
|
"QuizDTO": {
|
|
"allOf": [
|
|
{
|
|
"$ref": "#/components/schemas/SectionDTO"
|
|
},
|
|
{
|
|
"type": "object",
|
|
"additionalProperties": false,
|
|
"properties": {
|
|
"questions": {
|
|
"type": "array",
|
|
"nullable": true,
|
|
"items": {
|
|
"$ref": "#/components/schemas/QuestionDTO"
|
|
}
|
|
},
|
|
"bad_level": {
|
|
"type": "array",
|
|
"nullable": true,
|
|
"items": {
|
|
"$ref": "#/components/schemas/TranslationAndResourceDTO"
|
|
}
|
|
},
|
|
"medium_level": {
|
|
"type": "array",
|
|
"nullable": true,
|
|
"items": {
|
|
"$ref": "#/components/schemas/TranslationAndResourceDTO"
|
|
}
|
|
},
|
|
"good_level": {
|
|
"type": "array",
|
|
"nullable": true,
|
|
"items": {
|
|
"$ref": "#/components/schemas/TranslationAndResourceDTO"
|
|
}
|
|
},
|
|
"great_level": {
|
|
"type": "array",
|
|
"nullable": true,
|
|
"items": {
|
|
"$ref": "#/components/schemas/TranslationAndResourceDTO"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"QuestionDTO": {
|
|
"type": "object",
|
|
"additionalProperties": false,
|
|
"properties": {
|
|
"id": {
|
|
"type": "integer",
|
|
"format": "int32",
|
|
"nullable": true
|
|
},
|
|
"label": {
|
|
"type": "array",
|
|
"nullable": true,
|
|
"items": {
|
|
"$ref": "#/components/schemas/TranslationAndResourceDTO"
|
|
}
|
|
},
|
|
"responses": {
|
|
"type": "array",
|
|
"nullable": true,
|
|
"items": {
|
|
"$ref": "#/components/schemas/ResponseDTO"
|
|
}
|
|
},
|
|
"imageBackgroundResourceId": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"imageBackgroundResourceType": {
|
|
"nullable": true,
|
|
"oneOf": [
|
|
{
|
|
"$ref": "#/components/schemas/ResourceType"
|
|
}
|
|
]
|
|
},
|
|
"imageBackgroundResourceUrl": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"order": {
|
|
"type": "integer",
|
|
"format": "int32",
|
|
"nullable": true
|
|
}
|
|
}
|
|
},
|
|
"TranslationAndResourceDTO": {
|
|
"type": "object",
|
|
"additionalProperties": false,
|
|
"properties": {
|
|
"language": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"value": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"resourceId": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"resource": {
|
|
"nullable": true,
|
|
"oneOf": [
|
|
{
|
|
"$ref": "#/components/schemas/ResourceDTO"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
},
|
|
"ResponseDTO": {
|
|
"type": "object",
|
|
"additionalProperties": false,
|
|
"properties": {
|
|
"label": {
|
|
"type": "array",
|
|
"nullable": true,
|
|
"items": {
|
|
"$ref": "#/components/schemas/TranslationAndResourceDTO"
|
|
}
|
|
},
|
|
"isGood": {
|
|
"type": "boolean"
|
|
},
|
|
"order": {
|
|
"type": "integer",
|
|
"format": "int32"
|
|
}
|
|
}
|
|
},
|
|
"ArticleDTO": {
|
|
"allOf": [
|
|
{
|
|
"$ref": "#/components/schemas/SectionDTO"
|
|
},
|
|
{
|
|
"type": "object",
|
|
"additionalProperties": false,
|
|
"properties": {
|
|
"content": {
|
|
"type": "array",
|
|
"nullable": true,
|
|
"items": {
|
|
"$ref": "#/components/schemas/TranslationDTO"
|
|
}
|
|
},
|
|
"isContentTop": {
|
|
"type": "boolean"
|
|
},
|
|
"audioIds": {
|
|
"type": "array",
|
|
"nullable": true,
|
|
"items": {
|
|
"$ref": "#/components/schemas/TranslationDTO"
|
|
}
|
|
},
|
|
"isReadAudioAuto": {
|
|
"type": "boolean"
|
|
},
|
|
"contents": {
|
|
"type": "array",
|
|
"nullable": true,
|
|
"items": {
|
|
"$ref": "#/components/schemas/ContentDTO"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"PdfDTO": {
|
|
"allOf": [
|
|
{
|
|
"$ref": "#/components/schemas/SectionDTO"
|
|
},
|
|
{
|
|
"type": "object",
|
|
"additionalProperties": false,
|
|
"properties": {
|
|
"pdfs": {
|
|
"type": "array",
|
|
"nullable": true,
|
|
"items": {
|
|
"$ref": "#/components/schemas/OrderedTranslationAndResourceDTO"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"OrderedTranslationAndResourceDTO": {
|
|
"type": "object",
|
|
"additionalProperties": false,
|
|
"properties": {
|
|
"translationAndResourceDTOs": {
|
|
"type": "array",
|
|
"nullable": true,
|
|
"items": {
|
|
"$ref": "#/components/schemas/TranslationAndResourceDTO"
|
|
}
|
|
},
|
|
"order": {
|
|
"type": "integer",
|
|
"format": "int32"
|
|
}
|
|
}
|
|
},
|
|
"PuzzleDTO": {
|
|
"allOf": [
|
|
{
|
|
"$ref": "#/components/schemas/SectionDTO"
|
|
},
|
|
{
|
|
"type": "object",
|
|
"additionalProperties": false,
|
|
"properties": {
|
|
"messageDebut": {
|
|
"type": "array",
|
|
"nullable": true,
|
|
"items": {
|
|
"$ref": "#/components/schemas/TranslationAndResourceDTO"
|
|
}
|
|
},
|
|
"messageFin": {
|
|
"type": "array",
|
|
"nullable": true,
|
|
"items": {
|
|
"$ref": "#/components/schemas/TranslationAndResourceDTO"
|
|
}
|
|
},
|
|
"puzzleImage": {
|
|
"nullable": true,
|
|
"oneOf": [
|
|
{
|
|
"$ref": "#/components/schemas/ResourceDTO"
|
|
}
|
|
]
|
|
},
|
|
"puzzleImageId": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"rows": {
|
|
"type": "integer",
|
|
"format": "int32"
|
|
},
|
|
"cols": {
|
|
"type": "integer",
|
|
"format": "int32"
|
|
}
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"AgendaDTO": {
|
|
"allOf": [
|
|
{
|
|
"$ref": "#/components/schemas/SectionDTO"
|
|
},
|
|
{
|
|
"type": "object",
|
|
"additionalProperties": false,
|
|
"properties": {
|
|
"resourceIds": {
|
|
"type": "array",
|
|
"nullable": true,
|
|
"items": {
|
|
"$ref": "#/components/schemas/TranslationDTO"
|
|
}
|
|
},
|
|
"agendaMapProvider": {
|
|
"nullable": true,
|
|
"oneOf": [
|
|
{
|
|
"$ref": "#/components/schemas/MapProvider"
|
|
}
|
|
]
|
|
},
|
|
"events": {
|
|
"type": "array",
|
|
"nullable": true,
|
|
"items": {
|
|
"$ref": "#/components/schemas/EventAgendaDTO"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"WeatherDTO": {
|
|
"allOf": [
|
|
{
|
|
"$ref": "#/components/schemas/SectionDTO"
|
|
},
|
|
{
|
|
"type": "object",
|
|
"additionalProperties": false,
|
|
"properties": {
|
|
"city": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"updatedDate": {
|
|
"type": "string",
|
|
"format": "date-time",
|
|
"nullable": true
|
|
},
|
|
"result": {
|
|
"type": "string",
|
|
"nullable": true
|
|
}
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"SectionEventDTO": {
|
|
"allOf": [
|
|
{
|
|
"$ref": "#/components/schemas/SectionDTO"
|
|
},
|
|
{
|
|
"type": "object",
|
|
"additionalProperties": false,
|
|
"properties": {
|
|
"startDate": {
|
|
"type": "string",
|
|
"format": "date-time"
|
|
},
|
|
"endDate": {
|
|
"type": "string",
|
|
"format": "date-time"
|
|
},
|
|
"parcoursIds": {
|
|
"type": "array",
|
|
"nullable": true,
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"programme": {
|
|
"type": "array",
|
|
"nullable": true,
|
|
"items": {
|
|
"$ref": "#/components/schemas/ProgrammeBlock"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"GuidedPathDTO": {
|
|
"type": "object",
|
|
"additionalProperties": false,
|
|
"properties": {
|
|
"id": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"instanceId": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"title": {
|
|
"type": "array",
|
|
"nullable": true,
|
|
"items": {
|
|
"$ref": "#/components/schemas/TranslationDTO"
|
|
}
|
|
},
|
|
"description": {
|
|
"type": "array",
|
|
"nullable": true,
|
|
"items": {
|
|
"$ref": "#/components/schemas/TranslationDTO"
|
|
}
|
|
},
|
|
"sectionMapId": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"sectionEventId": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"isLinear": {
|
|
"type": "boolean"
|
|
},
|
|
"requireSuccessToAdvance": {
|
|
"type": "boolean"
|
|
},
|
|
"hideNextStepsUntilComplete": {
|
|
"type": "boolean"
|
|
},
|
|
"order": {
|
|
"type": "integer",
|
|
"format": "int32"
|
|
},
|
|
"steps": {
|
|
"type": "array",
|
|
"nullable": true,
|
|
"items": {
|
|
"$ref": "#/components/schemas/GuidedStepDTO"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"GuidedStepDTO": {
|
|
"type": "object",
|
|
"additionalProperties": false,
|
|
"properties": {
|
|
"id": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"guidedPathId": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"order": {
|
|
"type": "integer",
|
|
"format": "int32"
|
|
},
|
|
"title": {
|
|
"type": "array",
|
|
"nullable": true,
|
|
"items": {
|
|
"$ref": "#/components/schemas/TranslationDTO"
|
|
}
|
|
},
|
|
"description": {
|
|
"type": "array",
|
|
"nullable": true,
|
|
"items": {
|
|
"$ref": "#/components/schemas/TranslationDTO"
|
|
}
|
|
},
|
|
"geometry": {
|
|
"nullable": true,
|
|
"oneOf": [
|
|
{
|
|
"$ref": "#/components/schemas/GeometryDTO"
|
|
}
|
|
]
|
|
},
|
|
"zoneRadiusMeters": {
|
|
"type": "number",
|
|
"format": "double",
|
|
"nullable": true
|
|
},
|
|
"imageUrl": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"triggerGeoPointId": {
|
|
"type": "integer",
|
|
"format": "int32",
|
|
"nullable": true
|
|
},
|
|
"triggerGeoPoint": {
|
|
"nullable": true,
|
|
"oneOf": [
|
|
{
|
|
"$ref": "#/components/schemas/GeoPointDTO"
|
|
}
|
|
]
|
|
},
|
|
"isHiddenInitially": {
|
|
"type": "boolean"
|
|
},
|
|
"isStepTimer": {
|
|
"type": "boolean"
|
|
},
|
|
"isStepLocked": {
|
|
"type": "boolean"
|
|
},
|
|
"timerSeconds": {
|
|
"type": "integer",
|
|
"format": "int32",
|
|
"nullable": true
|
|
},
|
|
"timerExpiredMessage": {
|
|
"type": "array",
|
|
"nullable": true,
|
|
"items": {
|
|
"$ref": "#/components/schemas/TranslationDTO"
|
|
}
|
|
},
|
|
"quizQuestions": {
|
|
"type": "array",
|
|
"nullable": true,
|
|
"items": {
|
|
"$ref": "#/components/schemas/QuizQuestion"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"QuizQuestion": {
|
|
"type": "object",
|
|
"additionalProperties": false,
|
|
"required": [
|
|
"id",
|
|
"label",
|
|
"responses"
|
|
],
|
|
"properties": {
|
|
"id": {
|
|
"type": "integer",
|
|
"format": "int32"
|
|
},
|
|
"label": {
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "#/components/schemas/TranslationAndResourceDTO"
|
|
}
|
|
},
|
|
"resourceId": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"resource": {
|
|
"nullable": true,
|
|
"oneOf": [
|
|
{
|
|
"$ref": "#/components/schemas/Resource"
|
|
}
|
|
]
|
|
},
|
|
"order": {
|
|
"type": "integer",
|
|
"format": "int32"
|
|
},
|
|
"responses": {
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "#/components/schemas/ResponseDTO"
|
|
}
|
|
},
|
|
"sectionQuizId": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"sectionQuiz": {
|
|
"nullable": true,
|
|
"oneOf": [
|
|
{
|
|
"$ref": "#/components/schemas/SectionQuiz"
|
|
}
|
|
]
|
|
},
|
|
"guidedStepId": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"guidedStep": {
|
|
"nullable": true,
|
|
"oneOf": [
|
|
{
|
|
"$ref": "#/components/schemas/GuidedStep"
|
|
}
|
|
]
|
|
},
|
|
"validationQuestionType": {
|
|
"$ref": "#/components/schemas/QuestionType"
|
|
},
|
|
"puzzleImageId": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"puzzleImage": {
|
|
"nullable": true,
|
|
"oneOf": [
|
|
{
|
|
"$ref": "#/components/schemas/Resource"
|
|
}
|
|
]
|
|
},
|
|
"puzzleRows": {
|
|
"type": "integer",
|
|
"format": "int32",
|
|
"nullable": true
|
|
},
|
|
"puzzleCols": {
|
|
"type": "integer",
|
|
"format": "int32",
|
|
"nullable": true
|
|
},
|
|
"isSlidingPuzzle": {
|
|
"type": "boolean"
|
|
}
|
|
}
|
|
},
|
|
"SectionQuiz": {
|
|
"allOf": [
|
|
{
|
|
"$ref": "#/components/schemas/Section"
|
|
},
|
|
{
|
|
"type": "object",
|
|
"additionalProperties": false,
|
|
"required": [
|
|
"quizQuestions",
|
|
"quizBadLevel",
|
|
"quizMediumLevel",
|
|
"quizGoodLevel",
|
|
"quizGreatLevel"
|
|
],
|
|
"properties": {
|
|
"quizQuestions": {
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "#/components/schemas/QuizQuestion"
|
|
}
|
|
},
|
|
"quizBadLevel": {
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "#/components/schemas/TranslationAndResourceDTO"
|
|
}
|
|
},
|
|
"quizMediumLevel": {
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "#/components/schemas/TranslationAndResourceDTO"
|
|
}
|
|
},
|
|
"quizGoodLevel": {
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "#/components/schemas/TranslationAndResourceDTO"
|
|
}
|
|
},
|
|
"quizGreatLevel": {
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "#/components/schemas/TranslationAndResourceDTO"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"GuidedStep": {
|
|
"type": "object",
|
|
"additionalProperties": false,
|
|
"required": [
|
|
"guidedPathId",
|
|
"title"
|
|
],
|
|
"properties": {
|
|
"id": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"guidedPathId": {
|
|
"type": "string",
|
|
"minLength": 1
|
|
},
|
|
"guidedPath": {
|
|
"nullable": true,
|
|
"oneOf": [
|
|
{
|
|
"$ref": "#/components/schemas/GuidedPath"
|
|
}
|
|
]
|
|
},
|
|
"order": {
|
|
"type": "integer",
|
|
"format": "int32"
|
|
},
|
|
"title": {
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "#/components/schemas/TranslationDTO"
|
|
}
|
|
},
|
|
"description": {
|
|
"type": "array",
|
|
"nullable": true,
|
|
"items": {
|
|
"$ref": "#/components/schemas/TranslationDTO"
|
|
}
|
|
},
|
|
"geometry": {
|
|
"nullable": true,
|
|
"oneOf": [
|
|
{
|
|
"$ref": "#/components/schemas/Geometry"
|
|
}
|
|
]
|
|
},
|
|
"zoneRadiusMeters": {
|
|
"type": "number",
|
|
"format": "double",
|
|
"nullable": true
|
|
},
|
|
"imageUrl": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"triggerGeoPointId": {
|
|
"type": "integer",
|
|
"format": "int32",
|
|
"nullable": true
|
|
},
|
|
"triggerGeoPoint": {
|
|
"nullable": true,
|
|
"oneOf": [
|
|
{
|
|
"$ref": "#/components/schemas/GeoPoint"
|
|
}
|
|
]
|
|
},
|
|
"isHiddenInitially": {
|
|
"type": "boolean"
|
|
},
|
|
"quizQuestions": {
|
|
"type": "array",
|
|
"nullable": true,
|
|
"items": {
|
|
"$ref": "#/components/schemas/QuizQuestion"
|
|
}
|
|
},
|
|
"isStepTimer": {
|
|
"type": "boolean"
|
|
},
|
|
"isStepLocked": {
|
|
"type": "boolean"
|
|
},
|
|
"timerSeconds": {
|
|
"type": "integer",
|
|
"format": "int32",
|
|
"nullable": true
|
|
},
|
|
"timerExpiredMessage": {
|
|
"type": "array",
|
|
"nullable": true,
|
|
"items": {
|
|
"$ref": "#/components/schemas/TranslationDTO"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"GuidedPath": {
|
|
"type": "object",
|
|
"additionalProperties": false,
|
|
"required": [
|
|
"instanceId",
|
|
"title"
|
|
],
|
|
"properties": {
|
|
"id": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"instanceId": {
|
|
"type": "string",
|
|
"minLength": 1
|
|
},
|
|
"title": {
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "#/components/schemas/TranslationDTO"
|
|
}
|
|
},
|
|
"description": {
|
|
"type": "array",
|
|
"nullable": true,
|
|
"items": {
|
|
"$ref": "#/components/schemas/TranslationDTO"
|
|
}
|
|
},
|
|
"sectionMapId": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"sectionMap": {
|
|
"nullable": true,
|
|
"oneOf": [
|
|
{
|
|
"$ref": "#/components/schemas/SectionMap"
|
|
}
|
|
]
|
|
},
|
|
"sectionEventId": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"sectionEvent": {
|
|
"nullable": true,
|
|
"oneOf": [
|
|
{
|
|
"$ref": "#/components/schemas/SectionEvent"
|
|
}
|
|
]
|
|
},
|
|
"isLinear": {
|
|
"type": "boolean"
|
|
},
|
|
"requireSuccessToAdvance": {
|
|
"type": "boolean"
|
|
},
|
|
"hideNextStepsUntilComplete": {
|
|
"type": "boolean"
|
|
},
|
|
"order": {
|
|
"type": "integer",
|
|
"format": "int32"
|
|
},
|
|
"steps": {
|
|
"type": "array",
|
|
"nullable": true,
|
|
"items": {
|
|
"$ref": "#/components/schemas/GuidedStep"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"SectionMap": {
|
|
"allOf": [
|
|
{
|
|
"$ref": "#/components/schemas/Section"
|
|
},
|
|
{
|
|
"type": "object",
|
|
"additionalProperties": false,
|
|
"required": [
|
|
"mapCategories"
|
|
],
|
|
"properties": {
|
|
"mapZoom": {
|
|
"type": "integer",
|
|
"format": "int32"
|
|
},
|
|
"mapMapType": {
|
|
"nullable": true,
|
|
"oneOf": [
|
|
{
|
|
"$ref": "#/components/schemas/MapTypeApp"
|
|
}
|
|
]
|
|
},
|
|
"mapTypeMapbox": {
|
|
"nullable": true,
|
|
"oneOf": [
|
|
{
|
|
"$ref": "#/components/schemas/MapTypeMapBox"
|
|
}
|
|
]
|
|
},
|
|
"mapMapProvider": {
|
|
"nullable": true,
|
|
"oneOf": [
|
|
{
|
|
"$ref": "#/components/schemas/MapProvider"
|
|
}
|
|
]
|
|
},
|
|
"mapPoints": {
|
|
"type": "array",
|
|
"nullable": true,
|
|
"items": {
|
|
"$ref": "#/components/schemas/GeoPoint"
|
|
}
|
|
},
|
|
"mapResourceId": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"mapResource": {
|
|
"nullable": true,
|
|
"oneOf": [
|
|
{
|
|
"$ref": "#/components/schemas/Resource"
|
|
}
|
|
]
|
|
},
|
|
"mapCategories": {
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "#/components/schemas/CategorieDTO"
|
|
}
|
|
},
|
|
"mapCenterLatitude": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"mapCenterLongitude": {
|
|
"type": "string",
|
|
"nullable": true
|
|
}
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"GeoPoint": {
|
|
"type": "object",
|
|
"additionalProperties": false,
|
|
"required": [
|
|
"id",
|
|
"title",
|
|
"description",
|
|
"contents",
|
|
"schedules",
|
|
"prices",
|
|
"phone",
|
|
"email",
|
|
"site"
|
|
],
|
|
"properties": {
|
|
"id": {
|
|
"type": "integer",
|
|
"format": "int32"
|
|
},
|
|
"title": {
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "#/components/schemas/TranslationDTO"
|
|
}
|
|
},
|
|
"description": {
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "#/components/schemas/TranslationDTO"
|
|
}
|
|
},
|
|
"contents": {
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "#/components/schemas/ContentDTO"
|
|
}
|
|
},
|
|
"categorieId": {
|
|
"type": "integer",
|
|
"format": "int32",
|
|
"nullable": true
|
|
},
|
|
"geometry": {
|
|
"nullable": true,
|
|
"oneOf": [
|
|
{
|
|
"$ref": "#/components/schemas/Geometry"
|
|
}
|
|
]
|
|
},
|
|
"polyColor": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"imageResourceId": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"imageUrl": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"schedules": {
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "#/components/schemas/TranslationDTO"
|
|
}
|
|
},
|
|
"prices": {
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "#/components/schemas/TranslationDTO"
|
|
}
|
|
},
|
|
"phone": {
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "#/components/schemas/TranslationDTO"
|
|
}
|
|
},
|
|
"email": {
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "#/components/schemas/TranslationDTO"
|
|
}
|
|
},
|
|
"site": {
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "#/components/schemas/TranslationDTO"
|
|
}
|
|
},
|
|
"sectionMapId": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"sectionMap": {
|
|
"nullable": true,
|
|
"oneOf": [
|
|
{
|
|
"$ref": "#/components/schemas/SectionMap"
|
|
}
|
|
]
|
|
},
|
|
"sectionEventId": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"sectionEvent": {
|
|
"nullable": true,
|
|
"oneOf": [
|
|
{
|
|
"$ref": "#/components/schemas/SectionEvent"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
},
|
|
"QuestionType": {
|
|
"type": "integer",
|
|
"description": "0 = Simple\n1 = MultipleChoice\n2 = Puzzle",
|
|
"x-enumNames": [
|
|
"Simple",
|
|
"MultipleChoice",
|
|
"Puzzle"
|
|
],
|
|
"enum": [
|
|
0,
|
|
1,
|
|
2
|
|
]
|
|
},
|
|
"ProgrammeBlockDTO": {
|
|
"type": "object",
|
|
"additionalProperties": false,
|
|
"properties": {
|
|
"id": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"title": {
|
|
"type": "array",
|
|
"nullable": true,
|
|
"items": {
|
|
"$ref": "#/components/schemas/TranslationDTO"
|
|
}
|
|
},
|
|
"description": {
|
|
"type": "array",
|
|
"nullable": true,
|
|
"items": {
|
|
"$ref": "#/components/schemas/TranslationDTO"
|
|
}
|
|
},
|
|
"startTime": {
|
|
"type": "string",
|
|
"format": "date-time"
|
|
},
|
|
"endTime": {
|
|
"type": "string",
|
|
"format": "date-time"
|
|
},
|
|
"mapAnnotations": {
|
|
"type": "array",
|
|
"nullable": true,
|
|
"items": {
|
|
"$ref": "#/components/schemas/MapAnnotationDTO"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"MapAnnotationDTO": {
|
|
"type": "object",
|
|
"additionalProperties": false,
|
|
"properties": {
|
|
"id": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"type": {
|
|
"type": "array",
|
|
"nullable": true,
|
|
"items": {
|
|
"$ref": "#/components/schemas/TranslationDTO"
|
|
}
|
|
},
|
|
"label": {
|
|
"type": "array",
|
|
"nullable": true,
|
|
"items": {
|
|
"$ref": "#/components/schemas/TranslationDTO"
|
|
}
|
|
},
|
|
"geometryType": {
|
|
"$ref": "#/components/schemas/GeometryType"
|
|
},
|
|
"geometry": {
|
|
"nullable": true,
|
|
"oneOf": [
|
|
{
|
|
"$ref": "#/components/schemas/GeometryDTO"
|
|
}
|
|
]
|
|
},
|
|
"polyColor": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"icon": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"iconResourceId": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"iconResource": {
|
|
"nullable": true,
|
|
"oneOf": [
|
|
{
|
|
"$ref": "#/components/schemas/ResourceDTO"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
},
|
|
"User": {
|
|
"type": "object",
|
|
"additionalProperties": false,
|
|
"required": [
|
|
"id",
|
|
"email",
|
|
"password",
|
|
"lastName",
|
|
"token",
|
|
"instanceId"
|
|
],
|
|
"properties": {
|
|
"id": {
|
|
"type": "string",
|
|
"minLength": 1
|
|
},
|
|
"email": {
|
|
"type": "string",
|
|
"minLength": 1
|
|
},
|
|
"password": {
|
|
"type": "string",
|
|
"minLength": 1
|
|
},
|
|
"firstName": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"lastName": {
|
|
"type": "string",
|
|
"minLength": 1
|
|
},
|
|
"token": {
|
|
"type": "string",
|
|
"minLength": 1
|
|
},
|
|
"dateCreation": {
|
|
"type": "string",
|
|
"format": "date-time"
|
|
},
|
|
"instanceId": {
|
|
"type": "string",
|
|
"minLength": 1
|
|
}
|
|
}
|
|
},
|
|
"UserDetailDTO": {
|
|
"type": "object",
|
|
"additionalProperties": false,
|
|
"properties": {
|
|
"id": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"email": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"firstName": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"lastName": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"instanceId": {
|
|
"type": "string",
|
|
"nullable": true
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"securitySchemes": {
|
|
"bearer": {
|
|
"type": "oauth2",
|
|
"description": "Manager Authentication",
|
|
"flows": {
|
|
"password": {
|
|
"authorizationUrl": "/authentication/Token",
|
|
"tokenUrl": "/api/authentication/Token",
|
|
"scopes": {
|
|
"Manager-api": "Manager WebAPI"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"security": [
|
|
{
|
|
"bearer": []
|
|
}
|
|
],
|
|
"tags": [
|
|
{
|
|
"name": "Authentication",
|
|
"description": "Authentication management"
|
|
},
|
|
{
|
|
"name": "ApplicationInstance",
|
|
"description": "Application instance management"
|
|
},
|
|
{
|
|
"name": "Configuration",
|
|
"description": "Configuration management"
|
|
},
|
|
{
|
|
"name": "Device",
|
|
"description": "Device management"
|
|
},
|
|
{
|
|
"name": "Instance",
|
|
"description": "Instance management"
|
|
},
|
|
{
|
|
"name": "Resource",
|
|
"description": "Resource management"
|
|
},
|
|
{
|
|
"name": "Section agenda",
|
|
"description": "Section agenda management"
|
|
},
|
|
{
|
|
"name": "Section",
|
|
"description": "Section management"
|
|
},
|
|
{
|
|
"name": "Section event",
|
|
"description": "Section event management"
|
|
},
|
|
{
|
|
"name": "Section map",
|
|
"description": "Section map management"
|
|
},
|
|
{
|
|
"name": "Section quiz",
|
|
"description": "Section quiz management"
|
|
},
|
|
{
|
|
"name": "User",
|
|
"description": "User management"
|
|
}
|
|
]
|
|
} |