{ "openapi": "3.0.1", "info": { "title": "api", "version": "1.0" }, "paths": { "/api/Admin/clearCache": { "delete": { "tags": [ "Admin" ], "responses": { "200": { "description": "OK" } } } }, "/api/BlobStorage/upload/object": { "post": { "tags": [ "BlobStorage" ], "parameters": [ { "name": "id", "in": "query", "schema": { "type": "string", "format": "uuid" } } ], "requestBody": { "content": { "multipart/form-data": { "schema": { "type": "object", "properties": { "file": { "type": "string", "format": "binary" } } }, "encoding": { "file": { "style": "form" } } } } }, "responses": { "200": { "description": "OK" } } } }, "/api/BlobStorage/upload/room": { "post": { "tags": [ "BlobStorage" ], "parameters": [ { "name": "id", "in": "query", "schema": { "type": "string", "format": "uuid" } } ], "requestBody": { "content": { "multipart/form-data": { "schema": { "type": "object", "properties": { "file": { "type": "string", "format": "binary" } } }, "encoding": { "file": { "style": "form" } } } } }, "responses": { "200": { "description": "OK" } } } }, "/api/BlobStorage/downloadRoom/{id}": { "get": { "tags": [ "BlobStorage" ], "parameters": [ { "name": "id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } } ], "responses": { "200": { "description": "OK" } } } }, "/api/BlobStorage/downloadObject/{id}": { "get": { "tags": [ "BlobStorage" ], "parameters": [ { "name": "id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } } ], "responses": { "200": { "description": "OK" } } } }, "/api/BlobStorage/clearContainer": { "post": { "tags": [ "BlobStorage" ], "responses": { "200": { "description": "OK" } } } }, "/api/Config": { "get": { "tags": [ "Config" ], "responses": { "200": { "description": "OK", "content": { "text/plain": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/Config" } } }, "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/Config" } } }, "text/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/Config" } } } } } } }, "post": { "tags": [ "Config" ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Config" } }, "text/json": { "schema": { "$ref": "#/components/schemas/Config" } }, "application/*+json": { "schema": { "$ref": "#/components/schemas/Config" } } } }, "responses": { "200": { "description": "OK" } } }, "put": { "tags": [ "Config" ], "parameters": [ { "name": "name", "in": "query", "schema": { "type": "string" } } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Config" } }, "text/json": { "schema": { "$ref": "#/components/schemas/Config" } }, "application/*+json": { "schema": { "$ref": "#/components/schemas/Config" } } } }, "responses": { "200": { "description": "OK" } } }, "delete": { "tags": [ "Config" ], "parameters": [ { "name": "Name", "in": "query", "schema": { "type": "string" } } ], "responses": { "200": { "description": "OK" } } } }, "/api/Models/generate/room": { "post": { "tags": [ "Models" ], "parameters": [ { "name": "id", "in": "query", "schema": { "type": "string", "format": "uuid" } }, { "name": "fileName", "in": "query", "schema": { "type": "string" } }, { "name": "data_type", "in": "query", "schema": { "type": "string", "default": "video" } }, { "name": "num_frames_target", "in": "query", "schema": { "type": "integer", "format": "int32", "default": 300 } }, { "name": "max_num_iterations", "in": "query", "schema": { "type": "integer", "format": "int32", "default": 25000 } } ], "responses": { "200": { "description": "OK" } } } }, "/api/Models/generate/object": { "post": { "tags": [ "Models" ], "parameters": [ { "name": "id", "in": "query", "schema": { "type": "string", "format": "uuid" } }, { "name": "fileName", "in": "query", "schema": { "type": "string" } }, { "name": "data_type", "in": "query", "schema": { "type": "string", "default": "video" } }, { "name": "num_frames_target", "in": "query", "schema": { "type": "integer", "format": "int32", "default": 300 } }, { "name": "max_num_iterations", "in": "query", "schema": { "type": "integer", "format": "int32", "default": 25000 } } ], "responses": { "200": { "description": "OK" } } } }, "/admin/GetObjects": { "get": { "tags": [ "Object" ], "parameters": [ { "name": "nameFilter", "in": "query", "schema": { "type": "string", "default": "" } }, { "name": "objectIdFilter", "in": "query", "schema": { "type": "string", "default": "" } }, { "name": "videoUploadedFilter", "in": "query", "schema": { "type": "boolean" } }, { "name": "modelGeneratedFilter", "in": "query", "schema": { "type": "boolean" } }, { "name": "publicFilter", "in": "query", "schema": { "type": "boolean" } }, { "name": "thumbnailFilter", "in": "query", "schema": { "type": "string", "default": "" } }, { "name": "widthFilter", "in": "query", "schema": { "type": "string", "default": "" } }, { "name": "heightFilter", "in": "query", "schema": { "type": "string", "default": "" } }, { "name": "lengthFilter", "in": "query", "schema": { "type": "string", "default": "" } }, { "name": "typeFilter", "in": "query", "schema": { "$ref": "#/components/schemas/ObjectTypes" } }, { "name": "generationDateFilterUpper", "in": "query", "schema": { "type": "string", "format": "date-time" } }, { "name": "generationDateFilterLower", "in": "query", "schema": { "type": "string", "format": "date-time" } }, { "name": "creationDateFilterUpper", "in": "query", "schema": { "type": "string", "format": "date-time" } }, { "name": "creationDateFilterLower", "in": "query", "schema": { "type": "string", "format": "date-time" } }, { "name": "uploadDateFilterUpper", "in": "query", "schema": { "type": "string", "format": "date-time" } }, { "name": "uploadDateFilterLower", "in": "query", "schema": { "type": "string", "format": "date-time" } }, { "name": "modifyDateFilterUpper", "in": "query", "schema": { "type": "string", "format": "date-time" } }, { "name": "modifyDateFilterLower", "in": "query", "schema": { "type": "string", "format": "date-time" } }, { "name": "page", "in": "query", "schema": { "type": "integer", "format": "int32", "default": 1 } }, { "name": "pageSize", "in": "query", "schema": { "type": "integer", "format": "int32", "default": 10 } }, { "name": "orderBycol", "in": "query", "schema": { "type": "string", "default": "objectid" } }, { "name": "orderByAsc", "in": "query", "schema": { "type": "boolean", "default": true } } ], "responses": { "200": { "description": "OK", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/ObjApiGetReturnType" } }, "application/json": { "schema": { "$ref": "#/components/schemas/ObjApiGetReturnType" } }, "text/json": { "schema": { "$ref": "#/components/schemas/ObjApiGetReturnType" } } } } } } }, "/api/Object/available": { "get": { "tags": [ "Object" ], "parameters": [ { "name": "nameFilter", "in": "query", "schema": { "type": "string", "default": "" } }, { "name": "objectIdFilter", "in": "query", "schema": { "type": "string", "default": "" } }, { "name": "videoUploadedFilter", "in": "query", "schema": { "type": "boolean" } }, { "name": "modelGeneratedFilter", "in": "query", "schema": { "type": "boolean" } }, { "name": "publicFitler", "in": "query", "schema": { "type": "boolean" } }, { "name": "thumbnailFilter", "in": "query", "schema": { "type": "string", "default": "" } }, { "name": "widthFilter", "in": "query", "schema": { "type": "string", "default": "" } }, { "name": "heightFilter", "in": "query", "schema": { "type": "string", "default": "" } }, { "name": "lengthFilter", "in": "query", "schema": { "type": "string", "default": "" } }, { "name": "typeFilter", "in": "query", "schema": { "$ref": "#/components/schemas/ObjectTypes" } }, { "name": "generationDateFilterUpper", "in": "query", "schema": { "type": "string", "format": "date-time" } }, { "name": "generationDateFilterLower", "in": "query", "schema": { "type": "string", "format": "date-time" } }, { "name": "creationDateFilterUpper", "in": "query", "schema": { "type": "string", "format": "date-time" } }, { "name": "creationDateFilterLower", "in": "query", "schema": { "type": "string", "format": "date-time" } }, { "name": "uploadDateFilterUpper", "in": "query", "schema": { "type": "string", "format": "date-time" } }, { "name": "uploadDateFilterLower", "in": "query", "schema": { "type": "string", "format": "date-time" } }, { "name": "modifyDateFilterUpper", "in": "query", "schema": { "type": "string", "format": "date-time" } }, { "name": "modifyDateFilterLower", "in": "query", "schema": { "type": "string", "format": "date-time" } }, { "name": "page", "in": "query", "schema": { "type": "integer", "format": "int32", "default": 1 } }, { "name": "pageSize", "in": "query", "schema": { "type": "integer", "format": "int32", "default": 10 } }, { "name": "orderBycol", "in": "query", "schema": { "type": "string", "default": "objectid" } }, { "name": "orderByAsc", "in": "query", "schema": { "type": "boolean", "default": true } } ], "responses": { "200": { "description": "OK", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/ObjectApiGetReturnType" } }, "application/json": { "schema": { "$ref": "#/components/schemas/ObjectApiGetReturnType" } }, "text/json": { "schema": { "$ref": "#/components/schemas/ObjectApiGetReturnType" } } } } } } }, "/api/Object/{id}": { "get": { "tags": [ "Object" ], "parameters": [ { "name": "id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } } ], "responses": { "200": { "description": "OK", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/Obj" } }, "application/json": { "schema": { "$ref": "#/components/schemas/Obj" } }, "text/json": { "schema": { "$ref": "#/components/schemas/Obj" } } } } } }, "put": { "tags": [ "Object" ], "parameters": [ { "name": "id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Obj" } }, "text/json": { "schema": { "$ref": "#/components/schemas/Obj" } }, "application/*+json": { "schema": { "$ref": "#/components/schemas/Obj" } } } }, "responses": { "200": { "description": "OK", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/Obj" } }, "application/json": { "schema": { "$ref": "#/components/schemas/Obj" } }, "text/json": { "schema": { "$ref": "#/components/schemas/Obj" } } } } } }, "delete": { "tags": [ "Object" ], "parameters": [ { "name": "id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } } ], "responses": { "200": { "description": "OK", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/Obj" } }, "application/json": { "schema": { "$ref": "#/components/schemas/Obj" } }, "text/json": { "schema": { "$ref": "#/components/schemas/Obj" } } } } } } }, "/api/Object/thumbnail/{id}": { "get": { "tags": [ "Object" ], "parameters": [ { "name": "id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } } ], "responses": { "200": { "description": "OK", "content": { "text/plain": { "schema": { "type": "string", "format": "binary" } }, "application/json": { "schema": { "type": "string", "format": "binary" } }, "text/json": { "schema": { "type": "string", "format": "binary" } } } } } } }, "/api/Object/model/{id}": { "get": { "tags": [ "Object" ], "parameters": [ { "name": "id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } } ], "responses": { "200": { "description": "OK", "content": { "text/plain": { "schema": { "type": "string", "format": "binary" } }, "application/json": { "schema": { "type": "string", "format": "binary" } }, "text/json": { "schema": { "type": "string", "format": "binary" } } } } } } }, "/api/Object/createAndGenerate": { "post": { "tags": [ "Object" ], "parameters": [ { "name": "name", "in": "query", "schema": { "type": "string" } }, { "name": "videoLength", "in": "query", "schema": { "type": "integer", "format": "int32" } }, { "name": "type", "in": "query", "schema": { "$ref": "#/components/schemas/ObjectTypes" } } ], "requestBody": { "content": { "multipart/form-data": { "schema": { "type": "object", "properties": { "file": { "type": "string", "format": "binary" } } }, "encoding": { "file": { "style": "form" } } } } }, "responses": { "200": { "description": "OK" } } } }, "/api/Object": { "post": { "tags": [ "Object" ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/PostObject" } }, "text/json": { "schema": { "$ref": "#/components/schemas/PostObject" } }, "application/*+json": { "schema": { "$ref": "#/components/schemas/PostObject" } } } }, "responses": { "200": { "description": "OK" } } } }, "/api/Object/gsService/modelGenerated": { "put": { "tags": [ "Object" ], "parameters": [ { "name": "id", "in": "query", "schema": { "type": "string", "format": "uuid" } }, { "name": "secKey", "in": "query", "schema": { "type": "string" } }, { "name": "value", "in": "query", "schema": { "type": "boolean" } } ], "responses": { "200": { "description": "OK", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/Obj" } }, "application/json": { "schema": { "$ref": "#/components/schemas/Obj" } }, "text/json": { "schema": { "$ref": "#/components/schemas/Obj" } } } } } } }, "/api/Object/gsService/error": { "put": { "tags": [ "Object" ], "parameters": [ { "name": "id", "in": "query", "schema": { "type": "string", "format": "uuid" } }, { "name": "secKey", "in": "query", "schema": { "type": "string" } }, { "name": "error", "in": "query", "schema": { "type": "string" } } ], "responses": { "200": { "description": "OK" } } }, "get": { "tags": [ "Object" ], "parameters": [ { "name": "id", "in": "query", "schema": { "type": "string", "format": "uuid" } } ], "responses": { "200": { "description": "OK" } } } }, "/api/Object/share/getOwnerInfo": { "get": { "tags": [ "Object" ], "parameters": [ { "name": "objectId", "in": "query", "schema": { "type": "string", "format": "uuid" } } ], "responses": { "200": { "description": "OK" } } } }, "/api/Object/share": { "post": { "tags": [ "Object" ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/PostShare" } }, "text/json": { "schema": { "$ref": "#/components/schemas/PostShare" } }, "application/*+json": { "schema": { "$ref": "#/components/schemas/PostShare" } } } }, "responses": { "200": { "description": "OK" } } } }, "/api/Object/share/getUsers": { "get": { "tags": [ "Object" ], "parameters": [ { "name": "roomId", "in": "query", "schema": { "type": "string", "format": "uuid" } } ], "responses": { "200": { "description": "OK" } } } }, "/api/Object/share/revoke": { "delete": { "tags": [ "Object" ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/PostShare" } }, "text/json": { "schema": { "$ref": "#/components/schemas/PostShare" } }, "application/*+json": { "schema": { "$ref": "#/components/schemas/PostShare" } } } }, "responses": { "200": { "description": "OK" } } } }, "/api/ObjectPerms": { "get": { "tags": [ "ObjectPerms" ], "parameters": [ { "name": "page", "in": "query", "schema": { "type": "integer", "format": "int32", "default": 1 } }, { "name": "pageSize", "in": "query", "schema": { "type": "integer", "format": "int32", "default": 10 } }, { "name": "orderBycol", "in": "query", "schema": { "type": "string", "default": "objectId" } }, { "name": "orderByAsc", "in": "query", "schema": { "type": "boolean", "default": true } }, { "name": "objectIdFilter", "in": "query", "schema": { "type": "string", "default": "" } }, { "name": "userIdFilter", "in": "query", "schema": { "type": "string", "default": "" } }, { "name": "renovationOnlyFilter", "in": "query", "schema": { "type": "boolean" } }, { "name": "canEditFilter", "in": "query", "schema": { "type": "boolean" } } ], "responses": { "200": { "description": "OK" } } }, "post": { "tags": [ "ObjectPerms" ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/PostObjectPermissions" } }, "text/json": { "schema": { "$ref": "#/components/schemas/PostObjectPermissions" } }, "application/*+json": { "schema": { "$ref": "#/components/schemas/PostObjectPermissions" } } } }, "responses": { "200": { "description": "OK" } } }, "put": { "tags": [ "ObjectPerms" ], "parameters": [ { "name": "objectId", "in": "query", "schema": { "type": "string", "format": "uuid" } }, { "name": "userId", "in": "query", "schema": { "type": "string" } } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ObjectPerms" } }, "text/json": { "schema": { "$ref": "#/components/schemas/ObjectPerms" } }, "application/*+json": { "schema": { "$ref": "#/components/schemas/ObjectPerms" } } } }, "responses": { "200": { "description": "OK", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/ObjectPerms" } }, "application/json": { "schema": { "$ref": "#/components/schemas/ObjectPerms" } }, "text/json": { "schema": { "$ref": "#/components/schemas/ObjectPerms" } } } } } } }, "/admin/GetObjectsPermissions": { "get": { "tags": [ "ObjectPerms" ], "parameters": [ { "name": "page", "in": "query", "schema": { "type": "integer", "format": "int32", "default": 1 } }, { "name": "pageSize", "in": "query", "schema": { "type": "integer", "format": "int32", "default": 10 } }, { "name": "orderByCol", "in": "query", "schema": { "type": "string", "default": "objectId" } }, { "name": "orderByAsc", "in": "query", "schema": { "type": "boolean", "default": true } }, { "name": "objectIdFilter", "in": "query", "schema": { "type": "string", "default": "" } }, { "name": "userIdFilter", "in": "query", "schema": { "type": "string", "default": "" } }, { "name": "renovationOnlyFilter", "in": "query", "schema": { "type": "boolean" } }, { "name": "canEditFilter", "in": "query", "schema": { "type": "boolean" } } ], "responses": { "200": { "description": "OK", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/ObjectPermsApiGetReturnType" } }, "application/json": { "schema": { "$ref": "#/components/schemas/ObjectPermsApiGetReturnType" } }, "text/json": { "schema": { "$ref": "#/components/schemas/ObjectPermsApiGetReturnType" } } } } } } }, "/api/ObjectPerms/{objectId, userId}": { "delete": { "tags": [ "ObjectPerms" ], "parameters": [ { "name": "objectId", "in": "query", "schema": { "type": "string", "format": "uuid" } }, { "name": "userId", "in": "query", "schema": { "type": "string" } }, { "name": "objectId, userId", "in": "path", "required": true, "schema": { "type": "string" } } ], "responses": { "200": { "description": "OK", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/ObjectPerms" } }, "application/json": { "schema": { "$ref": "#/components/schemas/ObjectPerms" } }, "text/json": { "schema": { "$ref": "#/components/schemas/ObjectPerms" } } } } } } }, "/admin/GetObjectsInRenovations": { "get": { "tags": [ "ObjectsInRenovations" ], "parameters": [ { "name": "page", "in": "query", "schema": { "type": "integer", "format": "int32", "default": 1 } }, { "name": "pageSize", "in": "query", "schema": { "type": "integer", "format": "int32", "default": 10 } }, { "name": "filter", "in": "query", "schema": { "type": "string", "default": "" } }, { "name": "filterByCol", "in": "query", "schema": { "type": "string", "default": "id" } }, { "name": "orderByCol", "in": "query", "schema": { "type": "string", "default": "id" } }, { "name": "orderByAsc", "in": "query", "schema": { "type": "boolean", "default": true } }, { "name": "idFilter", "in": "query", "schema": { "type": "string", "default": "" } }, { "name": "objectIdFilter", "in": "query", "schema": { "type": "string", "default": "" } }, { "name": "renovationIdFilter", "in": "query", "schema": { "type": "string", "default": "" } }, { "name": "xFilter", "in": "query", "schema": { "type": "string", "default": "" } }, { "name": "yFilter", "in": "query", "schema": { "type": "string", "default": "" } }, { "name": "zFilter", "in": "query", "schema": { "type": "string", "default": "" } }, { "name": "rotationXFilter", "in": "query", "schema": { "type": "string", "default": "" } }, { "name": "rotationYFilter", "in": "query", "schema": { "type": "string", "default": "" } }, { "name": "rotationZFilter", "in": "query", "schema": { "type": "string", "default": "" } }, { "name": "scaleXFilter", "in": "query", "schema": { "type": "string", "default": "" } }, { "name": "scaleYFilter", "in": "query", "schema": { "type": "string", "default": "" } }, { "name": "scaleZFilter", "in": "query", "schema": { "type": "string", "default": "" } }, { "name": "visibleFilter", "in": "query", "schema": { "type": "boolean" } } ], "responses": { "200": { "description": "OK", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/ObjectInRenovationApiGetReturnType" } }, "application/json": { "schema": { "$ref": "#/components/schemas/ObjectInRenovationApiGetReturnType" } }, "text/json": { "schema": { "$ref": "#/components/schemas/ObjectInRenovationApiGetReturnType" } } } } } } }, "/api/ObjectsInRenovations/available": { "get": { "tags": [ "ObjectsInRenovations" ], "parameters": [ { "name": "page", "in": "query", "schema": { "type": "integer", "format": "int32", "default": 1 } }, { "name": "pageSize", "in": "query", "schema": { "type": "integer", "format": "int32", "default": 10 } }, { "name": "filter", "in": "query", "schema": { "type": "string", "default": "" } }, { "name": "filterByCol", "in": "query", "schema": { "type": "string", "default": "id" } }, { "name": "orderByCol", "in": "query", "schema": { "type": "string", "default": "id" } }, { "name": "orderByAsc", "in": "query", "schema": { "type": "boolean", "default": true } }, { "name": "idFilter", "in": "query", "schema": { "type": "string", "default": "" } }, { "name": "objectIdFilter", "in": "query", "schema": { "type": "string", "default": "" } }, { "name": "renovationIdFilter", "in": "query", "schema": { "type": "string", "default": "" } }, { "name": "xFilter", "in": "query", "schema": { "type": "string", "default": "" } }, { "name": "yFilter", "in": "query", "schema": { "type": "string", "default": "" } }, { "name": "zFilter", "in": "query", "schema": { "type": "string", "default": "" } }, { "name": "rotationXFilter", "in": "query", "schema": { "type": "string", "default": "" } }, { "name": "rotationYFilter", "in": "query", "schema": { "type": "string", "default": "" } }, { "name": "rotationZFilter", "in": "query", "schema": { "type": "string", "default": "" } }, { "name": "scaleXFilter", "in": "query", "schema": { "type": "string", "default": "" } }, { "name": "scaleYFilter", "in": "query", "schema": { "type": "string", "default": "" } }, { "name": "scaleZFilter", "in": "query", "schema": { "type": "string", "default": "" } }, { "name": "visibleFilter", "in": "query", "schema": { "type": "boolean" } } ], "responses": { "200": { "description": "OK" } } } }, "/api/ObjectsInRenovations": { "post": { "tags": [ "ObjectsInRenovations" ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/PostObjectInRenovation" } }, "text/json": { "schema": { "$ref": "#/components/schemas/PostObjectInRenovation" } }, "application/*+json": { "schema": { "$ref": "#/components/schemas/PostObjectInRenovation" } } } }, "responses": { "200": { "description": "OK", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/Obj" } }, "application/json": { "schema": { "$ref": "#/components/schemas/Obj" } }, "text/json": { "schema": { "$ref": "#/components/schemas/Obj" } } } } } }, "put": { "tags": [ "ObjectsInRenovations" ], "parameters": [ { "name": "objectInRenovationId", "in": "query", "schema": { "type": "string", "format": "uuid" } } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ObjectInRenovation" } }, "text/json": { "schema": { "$ref": "#/components/schemas/ObjectInRenovation" } }, "application/*+json": { "schema": { "$ref": "#/components/schemas/ObjectInRenovation" } } } }, "responses": { "200": { "description": "OK", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/ObjectInRenovation" } }, "application/json": { "schema": { "$ref": "#/components/schemas/ObjectInRenovation" } }, "text/json": { "schema": { "$ref": "#/components/schemas/ObjectInRenovation" } } } } } } }, "/api/ObjectsInRenovations/{id}": { "delete": { "tags": [ "ObjectsInRenovations" ], "parameters": [ { "name": "id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } } ], "responses": { "200": { "description": "OK", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/Obj" } }, "application/json": { "schema": { "$ref": "#/components/schemas/Obj" } }, "text/json": { "schema": { "$ref": "#/components/schemas/Obj" } } } } } } }, "/api/GetSubscriptionInfo": { "get": { "tags": [ "Payment" ], "responses": { "200": { "description": "OK", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/SubscriptionInfo" } }, "application/json": { "schema": { "$ref": "#/components/schemas/SubscriptionInfo" } }, "text/json": { "schema": { "$ref": "#/components/schemas/SubscriptionInfo" } } } } } } }, "/api/CancelSubscription": { "delete": { "tags": [ "Payment" ], "responses": { "200": { "description": "OK" } } } }, "/webhook": { "post": { "tags": [ "Payment" ], "responses": { "200": { "description": "OK" } } } }, "/api/Portal/Renovation": { "get": { "tags": [ "Portal" ], "parameters": [ { "name": "idFilter", "in": "query", "schema": { "type": "string", "default": "" } }, { "name": "nameFilter", "in": "query", "schema": { "type": "string", "default": "" } }, { "name": "authorFilter", "in": "query", "schema": { "type": "string", "default": "" } }, { "name": "typeFilter", "in": "query", "schema": { "$ref": "#/components/schemas/PortalTypes" } }, { "name": "modifyDateFilterUpper", "in": "query", "schema": { "type": "string", "format": "date-time" } }, { "name": "modifyDateFilterLower", "in": "query", "schema": { "type": "string", "format": "date-time" } }, { "name": "creationDateFilterUpper", "in": "query", "schema": { "type": "string", "format": "date-time" } }, { "name": "creationDateFilterLower", "in": "query", "schema": { "type": "string", "format": "date-time" } }, { "name": "page", "in": "query", "schema": { "type": "integer", "format": "int32", "default": 1 } }, { "name": "pageSize", "in": "query", "schema": { "type": "integer", "format": "int32", "default": 10 } }, { "name": "orderBycol", "in": "query", "schema": { "type": "string", "default": "objectid" } }, { "name": "orderByAsc", "in": "query", "schema": { "type": "boolean", "default": true } }, { "name": "ownerFilter", "in": "query", "schema": { "type": "string", "default": "" } } ], "responses": { "200": { "description": "OK" } } } }, "/api/Portal/Object": { "get": { "tags": [ "Portal" ], "parameters": [ { "name": "idFilter", "in": "query", "schema": { "type": "string", "default": "" } }, { "name": "nameFilter", "in": "query", "schema": { "type": "string", "default": "" } }, { "name": "authorFilter", "in": "query", "schema": { "type": "string", "default": "" } }, { "name": "typeFilter", "in": "query", "schema": { "$ref": "#/components/schemas/PortalTypes" } }, { "name": "modifyDateFilterUpper", "in": "query", "schema": { "type": "string", "format": "date-time" } }, { "name": "modifyDateFilterLower", "in": "query", "schema": { "type": "string", "format": "date-time" } }, { "name": "creationDateFilterUpper", "in": "query", "schema": { "type": "string", "format": "date-time" } }, { "name": "creationDateFilterLower", "in": "query", "schema": { "type": "string", "format": "date-time" } }, { "name": "page", "in": "query", "schema": { "type": "integer", "format": "int32", "default": 1 } }, { "name": "pageSize", "in": "query", "schema": { "type": "integer", "format": "int32", "default": 10 } }, { "name": "orderBycol", "in": "query", "schema": { "type": "string", "default": "objectid" } }, { "name": "orderByAsc", "in": "query", "schema": { "type": "boolean", "default": true } }, { "name": "ownerFilter", "in": "query", "schema": { "type": "string", "default": "" } } ], "responses": { "200": { "description": "OK" } } } }, "/api/Portal/thumbnail/{id}": { "get": { "tags": [ "Portal" ], "parameters": [ { "name": "id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } }, { "name": "type", "in": "query", "schema": { "$ref": "#/components/schemas/PortalTypes" } } ], "responses": { "200": { "description": "OK", "content": { "text/plain": { "schema": { "type": "string", "format": "binary" } }, "application/json": { "schema": { "type": "string", "format": "binary" } }, "text/json": { "schema": { "type": "string", "format": "binary" } } } } } } }, "/api/Portal/ObjectsInRenovations": { "get": { "tags": [ "Portal" ], "parameters": [ { "name": "page", "in": "query", "schema": { "type": "integer", "format": "int32", "default": 1 } }, { "name": "pageSize", "in": "query", "schema": { "type": "integer", "format": "int32", "default": 10 } }, { "name": "orderByCol", "in": "query", "schema": { "type": "string", "default": "id" } }, { "name": "orderByAsc", "in": "query", "schema": { "type": "boolean", "default": true } }, { "name": "idFilter", "in": "query", "schema": { "type": "string", "default": "" } }, { "name": "objectIdFilter", "in": "query", "schema": { "type": "string", "default": "" } }, { "name": "renovationIdFilter", "in": "query", "schema": { "type": "string", "default": "" } }, { "name": "xFilter", "in": "query", "schema": { "type": "string", "default": "" } }, { "name": "yFilter", "in": "query", "schema": { "type": "string", "default": "" } }, { "name": "zFilter", "in": "query", "schema": { "type": "string", "default": "" } }, { "name": "rotationXFilter", "in": "query", "schema": { "type": "string", "default": "" } }, { "name": "rotationYFilter", "in": "query", "schema": { "type": "string", "default": "" } }, { "name": "rotationZFilter", "in": "query", "schema": { "type": "string", "default": "" } }, { "name": "scaleXFilter", "in": "query", "schema": { "type": "string", "default": "" } }, { "name": "scaleYFilter", "in": "query", "schema": { "type": "string", "default": "" } }, { "name": "scaleZFilter", "in": "query", "schema": { "type": "string", "default": "" } }, { "name": "visibleFilter", "in": "query", "schema": { "type": "boolean" } } ], "responses": { "200": { "description": "OK" } } } }, "/api/Portal/RoomsInRenovations": { "get": { "tags": [ "Portal" ], "parameters": [ { "name": "page", "in": "query", "schema": { "type": "integer", "format": "int32", "default": 1 } }, { "name": "pageSize", "in": "query", "schema": { "type": "integer", "format": "int32", "default": 10 } }, { "name": "orderByCol", "in": "query", "schema": { "type": "string", "default": "id" } }, { "name": "orderByAsc", "in": "query", "schema": { "type": "boolean", "default": true } }, { "name": "idFilter", "in": "query", "schema": { "type": "string", "default": "" } }, { "name": "roomIdFilter", "in": "query", "schema": { "type": "string", "default": "" } }, { "name": "renovationIdFilter", "in": "query", "schema": { "type": "string", "default": "" } }, { "name": "xFilter", "in": "query", "schema": { "type": "string", "default": "" } }, { "name": "yFilter", "in": "query", "schema": { "type": "string", "default": "" } }, { "name": "zFilter", "in": "query", "schema": { "type": "string", "default": "" } }, { "name": "rotationXFilter", "in": "query", "schema": { "type": "string", "default": "" } }, { "name": "rotationYFilter", "in": "query", "schema": { "type": "string", "default": "" } }, { "name": "rotationZFilter", "in": "query", "schema": { "type": "string", "default": "" } }, { "name": "scaleXFilter", "in": "query", "schema": { "type": "string", "default": "" } }, { "name": "scaleYFilter", "in": "query", "schema": { "type": "string", "default": "" } }, { "name": "scaleZFilter", "in": "query", "schema": { "type": "string", "default": "" } }, { "name": "visibleFilter", "in": "query", "schema": { "type": "boolean" } } ], "responses": { "200": { "description": "OK" } } } }, "/api/Portal/Object/{id}": { "get": { "tags": [ "Portal" ], "parameters": [ { "name": "id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } } ], "responses": { "200": { "description": "OK", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/Obj" } }, "application/json": { "schema": { "$ref": "#/components/schemas/Obj" } }, "text/json": { "schema": { "$ref": "#/components/schemas/Obj" } } } } } } }, "/api/Portal/Renovation/{id}": { "get": { "tags": [ "Portal" ], "parameters": [ { "name": "id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } } ], "responses": { "200": { "description": "OK", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/Renovation" } }, "application/json": { "schema": { "$ref": "#/components/schemas/Renovation" } }, "text/json": { "schema": { "$ref": "#/components/schemas/Renovation" } } } } } } }, "/api/Portal/Room/{id}": { "get": { "tags": [ "Portal" ], "parameters": [ { "name": "id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } } ], "responses": { "200": { "description": "OK", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/Room" } }, "application/json": { "schema": { "$ref": "#/components/schemas/Room" } }, "text/json": { "schema": { "$ref": "#/components/schemas/Room" } } } } } } }, "/api/Portal/Model/{renovationId}/{roomId}": { "get": { "tags": [ "Portal" ], "parameters": [ { "name": "renovationId", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } }, { "name": "roomId", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } } ], "responses": { "200": { "description": "OK", "content": { "text/plain": { "schema": { "type": "string", "format": "binary" } }, "application/json": { "schema": { "type": "string", "format": "binary" } }, "text/json": { "schema": { "type": "string", "format": "binary" } } } } } } }, "/api/Portal/Model/Object/{id}": { "get": { "tags": [ "Portal" ], "parameters": [ { "name": "id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } } ], "responses": { "200": { "description": "OK", "content": { "text/plain": { "schema": { "type": "string", "format": "binary" } }, "application/json": { "schema": { "type": "string", "format": "binary" } }, "text/json": { "schema": { "type": "string", "format": "binary" } } } } } } }, "/admin/GetRenovations": { "get": { "tags": [ "Renovation" ], "parameters": [ { "name": "nameFilter", "in": "query", "schema": { "type": "string", "default": "" } }, { "name": "renovationIdFilter", "in": "query", "schema": { "type": "string", "default": "" } }, { "name": "publicFilter", "in": "query", "schema": { "type": "boolean" } }, { "name": "typeFilter", "in": "query", "schema": { "$ref": "#/components/schemas/RenovationTypes" } }, { "name": "modificationDateFilterUpper", "in": "query", "schema": { "type": "string", "format": "date-time" } }, { "name": "modificationDateFilterLower", "in": "query", "schema": { "type": "string", "format": "date-time" } }, { "name": "creationDateFilterUpper", "in": "query", "schema": { "type": "string", "format": "date-time" } }, { "name": "creationDateFilterLower", "in": "query", "schema": { "type": "string", "format": "date-time" } }, { "name": "page", "in": "query", "schema": { "type": "integer", "format": "int32", "default": 1 } }, { "name": "pageSize", "in": "query", "schema": { "type": "integer", "format": "int32", "default": 10 } }, { "name": "orderBycol", "in": "query", "schema": { "type": "string", "default": "objectid" } }, { "name": "orderByAsc", "in": "query", "schema": { "type": "boolean", "default": true } } ], "responses": { "200": { "description": "OK", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/RenovationApiGetReturnType" } }, "application/json": { "schema": { "$ref": "#/components/schemas/RenovationApiGetReturnType" } }, "text/json": { "schema": { "$ref": "#/components/schemas/RenovationApiGetReturnType" } } } } } } }, "/api/Renovation/available": { "get": { "tags": [ "Renovation" ], "parameters": [ { "name": "nameFilter", "in": "query", "schema": { "type": "string", "default": "" } }, { "name": "renovationIdFilter", "in": "query", "schema": { "type": "string", "default": "" } }, { "name": "publicFilter", "in": "query", "schema": { "type": "boolean" } }, { "name": "roomIdFilter", "in": "query", "schema": { "type": "string", "format": "uuid" } }, { "name": "typeFilter", "in": "query", "schema": { "$ref": "#/components/schemas/RenovationTypes" } }, { "name": "modificationDateFilterUpper", "in": "query", "schema": { "type": "string", "format": "date-time" } }, { "name": "modificationDateFilterLower", "in": "query", "schema": { "type": "string", "format": "date-time" } }, { "name": "creationDateFilterUpper", "in": "query", "schema": { "type": "string", "format": "date-time" } }, { "name": "creationDateFilterLower", "in": "query", "schema": { "type": "string", "format": "date-time" } }, { "name": "page", "in": "query", "schema": { "type": "integer", "format": "int32", "default": 1 } }, { "name": "pageSize", "in": "query", "schema": { "type": "integer", "format": "int32", "default": 10 } }, { "name": "orderBycol", "in": "query", "schema": { "type": "string", "default": "objectid" } }, { "name": "orderByAsc", "in": "query", "schema": { "type": "boolean", "default": true } } ], "responses": { "200": { "description": "OK", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/RenovationApiGetReturnType" } }, "application/json": { "schema": { "$ref": "#/components/schemas/RenovationApiGetReturnType" } }, "text/json": { "schema": { "$ref": "#/components/schemas/RenovationApiGetReturnType" } } } } } } }, "/api/Renovation/room/{id}": { "get": { "tags": [ "Renovation" ], "parameters": [ { "name": "id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } }, { "name": "nameFilter", "in": "query", "schema": { "type": "string", "default": "" } }, { "name": "renovationIdFilter", "in": "query", "schema": { "type": "string", "default": "" } }, { "name": "publicFilter", "in": "query", "schema": { "type": "boolean" } }, { "name": "typeFilter", "in": "query", "schema": { "$ref": "#/components/schemas/RenovationTypes" } }, { "name": "modificationDateFilterUpper", "in": "query", "schema": { "type": "string", "format": "date-time" } }, { "name": "modificationDateFilterLower", "in": "query", "schema": { "type": "string", "format": "date-time" } }, { "name": "creationDateFilterUpper", "in": "query", "schema": { "type": "string", "format": "date-time" } }, { "name": "creationDateFilterLower", "in": "query", "schema": { "type": "string", "format": "date-time" } }, { "name": "page", "in": "query", "schema": { "type": "integer", "format": "int32", "default": 1 } }, { "name": "pageSize", "in": "query", "schema": { "type": "integer", "format": "int32", "default": 10 } }, { "name": "orderBycol", "in": "query", "schema": { "type": "string", "default": "objectid" } }, { "name": "orderByAsc", "in": "query", "schema": { "type": "boolean", "default": true } } ], "responses": { "200": { "description": "OK", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/RenovationApiGetReturnType" } }, "application/json": { "schema": { "$ref": "#/components/schemas/RenovationApiGetReturnType" } }, "text/json": { "schema": { "$ref": "#/components/schemas/RenovationApiGetReturnType" } } } } } } }, "/api/Renovation/{id}": { "get": { "tags": [ "Renovation" ], "parameters": [ { "name": "id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } } ], "responses": { "200": { "description": "OK", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/Renovation" } }, "application/json": { "schema": { "$ref": "#/components/schemas/Renovation" } }, "text/json": { "schema": { "$ref": "#/components/schemas/Renovation" } } } } } }, "put": { "tags": [ "Renovation" ], "parameters": [ { "name": "id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Renovation" } }, "text/json": { "schema": { "$ref": "#/components/schemas/Renovation" } }, "application/*+json": { "schema": { "$ref": "#/components/schemas/Renovation" } } } }, "responses": { "200": { "description": "OK", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/Renovation" } }, "application/json": { "schema": { "$ref": "#/components/schemas/Renovation" } }, "text/json": { "schema": { "$ref": "#/components/schemas/Renovation" } } } } } }, "delete": { "tags": [ "Renovation" ], "parameters": [ { "name": "id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } } ], "responses": { "200": { "description": "OK", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/Renovation" } }, "application/json": { "schema": { "$ref": "#/components/schemas/Renovation" } }, "text/json": { "schema": { "$ref": "#/components/schemas/Renovation" } } } } } } }, "/api/Renovation/thumbnail/{id}": { "get": { "tags": [ "Renovation" ], "parameters": [ { "name": "id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } } ], "responses": { "200": { "description": "OK", "content": { "text/plain": { "schema": { "type": "string", "format": "binary" } }, "application/json": { "schema": { "type": "string", "format": "binary" } }, "text/json": { "schema": { "type": "string", "format": "binary" } } } } } } }, "/api/Renovation": { "post": { "tags": [ "Renovation" ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/PostRenovation" } }, "text/json": { "schema": { "$ref": "#/components/schemas/PostRenovation" } }, "application/*+json": { "schema": { "$ref": "#/components/schemas/PostRenovation" } } } }, "responses": { "200": { "description": "OK" } } } }, "/api/Renovation/share/revoke": { "post": { "tags": [ "Renovation" ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/PostShare" } }, "text/json": { "schema": { "$ref": "#/components/schemas/PostShare" } }, "application/*+json": { "schema": { "$ref": "#/components/schemas/PostShare" } } } }, "responses": { "200": { "description": "OK" } } } }, "/api/Renovation/share/getOwnerInfo": { "get": { "tags": [ "Renovation" ], "parameters": [ { "name": "renovationId", "in": "query", "schema": { "type": "string", "format": "uuid" } } ], "responses": { "200": { "description": "OK" } } } }, "/api/Renovation/share": { "post": { "tags": [ "Renovation" ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/PostShare" } }, "text/json": { "schema": { "$ref": "#/components/schemas/PostShare" } }, "application/*+json": { "schema": { "$ref": "#/components/schemas/PostShare" } } } }, "responses": { "200": { "description": "OK" } } } }, "/api/Renovation/share/getUsers": { "get": { "tags": [ "Renovation" ], "parameters": [ { "name": "renovationId", "in": "query", "schema": { "type": "string", "format": "uuid" } } ], "responses": { "200": { "description": "OK" } } } }, "/admin/GetRenovationPermissions": { "get": { "tags": [ "RenovationPermissions" ], "parameters": [ { "name": "page", "in": "query", "schema": { "type": "integer", "format": "int32", "default": 1 } }, { "name": "pageSize", "in": "query", "schema": { "type": "integer", "format": "int32", "default": 10 } }, { "name": "filter", "in": "query", "schema": { "type": "string", "default": "" } }, { "name": "filterByCol", "in": "query", "schema": { "type": "string", "default": "renovationId" } }, { "name": "orderByCol", "in": "query", "schema": { "type": "string", "default": "renovationId" } }, { "name": "orderByAsc", "in": "query", "schema": { "type": "boolean", "default": true } }, { "name": "renovationIdFilter", "in": "query", "schema": { "type": "string", "default": "" } }, { "name": "userIdFilter", "in": "query", "schema": { "type": "string", "default": "" } }, { "name": "canEditFilter", "in": "query", "schema": { "type": "boolean" } } ], "responses": { "200": { "description": "OK", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/RenovationPermsApiGetReturnType" } }, "application/json": { "schema": { "$ref": "#/components/schemas/RenovationPermsApiGetReturnType" } }, "text/json": { "schema": { "$ref": "#/components/schemas/RenovationPermsApiGetReturnType" } } } } } } }, "/api/RenovationPermissions": { "get": { "tags": [ "RenovationPermissions" ], "parameters": [ { "name": "page", "in": "query", "schema": { "type": "integer", "format": "int32", "default": 1 } }, { "name": "pageSize", "in": "query", "schema": { "type": "integer", "format": "int32", "default": 10 } }, { "name": "orderBycol", "in": "query", "schema": { "type": "string", "default": "objectId" } }, { "name": "orderByAsc", "in": "query", "schema": { "type": "boolean", "default": true } }, { "name": "renovationIdFilter", "in": "query", "schema": { "type": "string", "default": "" } }, { "name": "userIdFilter", "in": "query", "schema": { "type": "string", "default": "" } }, { "name": "canViewFilter", "in": "query", "schema": { "type": "boolean" } }, { "name": "canEditFilter", "in": "query", "schema": { "type": "boolean" } } ], "responses": { "200": { "description": "OK" } } }, "post": { "tags": [ "RenovationPermissions" ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/PostRenovationPermissions" } }, "text/json": { "schema": { "$ref": "#/components/schemas/PostRenovationPermissions" } }, "application/*+json": { "schema": { "$ref": "#/components/schemas/PostRenovationPermissions" } } } }, "responses": { "200": { "description": "OK", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/Obj" } }, "application/json": { "schema": { "$ref": "#/components/schemas/Obj" } }, "text/json": { "schema": { "$ref": "#/components/schemas/Obj" } } } } } }, "put": { "tags": [ "RenovationPermissions" ], "parameters": [ { "name": "renovationId", "in": "query", "schema": { "type": "string", "format": "uuid" } }, { "name": "userId", "in": "query", "schema": { "type": "string" } } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RenovationPerms" } }, "text/json": { "schema": { "$ref": "#/components/schemas/RenovationPerms" } }, "application/*+json": { "schema": { "$ref": "#/components/schemas/RenovationPerms" } } } }, "responses": { "200": { "description": "OK", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/RenovationPerms" } }, "application/json": { "schema": { "$ref": "#/components/schemas/RenovationPerms" } }, "text/json": { "schema": { "$ref": "#/components/schemas/RenovationPerms" } } } } } } }, "/api/RenovationPermissions/{renovationId, userId}": { "delete": { "tags": [ "RenovationPermissions" ], "parameters": [ { "name": "renovationId", "in": "query", "schema": { "type": "string", "format": "uuid" } }, { "name": "userId", "in": "query", "schema": { "type": "string" } }, { "name": "renovationId, userId", "in": "path", "required": true, "schema": { "type": "string" } } ], "responses": { "200": { "description": "OK", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/Obj" } }, "application/json": { "schema": { "$ref": "#/components/schemas/Obj" } }, "text/json": { "schema": { "$ref": "#/components/schemas/Obj" } } } } } } }, "/admin/GetRooms": { "get": { "tags": [ "Room" ], "parameters": [ { "name": "nameFilter", "in": "query", "schema": { "type": "string", "default": "" } }, { "name": "roomIdFilter", "in": "query", "schema": { "type": "string", "default": "" } }, { "name": "ownerIdFilter", "in": "query", "schema": { "type": "string", "default": "" } }, { "name": "videoUploadedFilter", "in": "query", "schema": { "type": "boolean" } }, { "name": "modelGeneratedFilter", "in": "query", "schema": { "type": "boolean" } }, { "name": "thumbnailFilter", "in": "query", "schema": { "type": "string", "default": "" } }, { "name": "widthFilter", "in": "query", "schema": { "type": "string", "default": "" } }, { "name": "heightFilter", "in": "query", "schema": { "type": "string", "default": "" } }, { "name": "lengthFilter", "in": "query", "schema": { "type": "string", "default": "" } }, { "name": "generationDateFilterUpper", "in": "query", "schema": { "type": "string", "format": "date-time" } }, { "name": "generationDateFilterLower", "in": "query", "schema": { "type": "string", "format": "date-time" } }, { "name": "creationDateFilterUpper", "in": "query", "schema": { "type": "string", "format": "date-time" } }, { "name": "creationDateFilterLower", "in": "query", "schema": { "type": "string", "format": "date-time" } }, { "name": "uploadDateFilterUpper", "in": "query", "schema": { "type": "string", "format": "date-time" } }, { "name": "uploadDateFilterLower", "in": "query", "schema": { "type": "string", "format": "date-time" } }, { "name": "modifyDateFilterUpper", "in": "query", "schema": { "type": "string", "format": "date-time" } }, { "name": "modifyDateFilterLower", "in": "query", "schema": { "type": "string", "format": "date-time" } }, { "name": "page", "in": "query", "schema": { "type": "integer", "format": "int32", "default": 1 } }, { "name": "pageSize", "in": "query", "schema": { "type": "integer", "format": "int32", "default": 10 } }, { "name": "orderBycol", "in": "query", "schema": { "type": "string", "default": "objectid" } }, { "name": "orderByAsc", "in": "query", "schema": { "type": "boolean", "default": true } } ], "responses": { "200": { "description": "OK", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/RoomApiGetReturnType" } }, "application/json": { "schema": { "$ref": "#/components/schemas/RoomApiGetReturnType" } }, "text/json": { "schema": { "$ref": "#/components/schemas/RoomApiGetReturnType" } } } } } } }, "/admin/GetRoomModelAdmin": { "get": { "tags": [ "Room" ], "parameters": [ { "name": "id", "in": "query", "schema": { "type": "string", "format": "uuid" } } ], "responses": { "200": { "description": "OK", "content": { "text/plain": { "schema": { "type": "string", "format": "binary" } }, "application/json": { "schema": { "type": "string", "format": "binary" } }, "text/json": { "schema": { "type": "string", "format": "binary" } } } } } } }, "/api/Room/available": { "get": { "tags": [ "Room" ], "parameters": [ { "name": "nameFilter", "in": "query", "schema": { "type": "string", "default": "" } }, { "name": "roomIdFilter", "in": "query", "schema": { "type": "string", "default": "" } }, { "name": "ownerIdFilter", "in": "query", "schema": { "type": "string", "default": "" } }, { "name": "videoUploadedFilter", "in": "query", "schema": { "type": "boolean" } }, { "name": "modelGeneratedFilter", "in": "query", "schema": { "type": "boolean" } }, { "name": "thumbnailFilter", "in": "query", "schema": { "type": "string", "default": "" } }, { "name": "widthFilter", "in": "query", "schema": { "type": "string", "default": "" } }, { "name": "heightFilter", "in": "query", "schema": { "type": "string", "default": "" } }, { "name": "lengthFilter", "in": "query", "schema": { "type": "string", "default": "" } }, { "name": "generationDateFilterUpper", "in": "query", "schema": { "type": "string", "format": "date-time" } }, { "name": "generationDateFilterLower", "in": "query", "schema": { "type": "string", "format": "date-time" } }, { "name": "creationDateFilterUpper", "in": "query", "schema": { "type": "string", "format": "date-time" } }, { "name": "creationDateFilterLower", "in": "query", "schema": { "type": "string", "format": "date-time" } }, { "name": "uploadDateFilterUpper", "in": "query", "schema": { "type": "string", "format": "date-time" } }, { "name": "uploadDateFilterLower", "in": "query", "schema": { "type": "string", "format": "date-time" } }, { "name": "modifyDateFilterUpper", "in": "query", "schema": { "type": "string", "format": "date-time" } }, { "name": "modifyDateFilterLower", "in": "query", "schema": { "type": "string", "format": "date-time" } }, { "name": "page", "in": "query", "schema": { "type": "integer", "format": "int32", "default": 1 } }, { "name": "pageSize", "in": "query", "schema": { "type": "integer", "format": "int32", "default": 10 } }, { "name": "orderBycol", "in": "query", "schema": { "type": "string", "default": "objectid" } }, { "name": "orderByAsc", "in": "query", "schema": { "type": "boolean", "default": true } } ], "responses": { "200": { "description": "OK", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/RoomApiGetReturnType" } }, "application/json": { "schema": { "$ref": "#/components/schemas/RoomApiGetReturnType" } }, "text/json": { "schema": { "$ref": "#/components/schemas/RoomApiGetReturnType" } } } } } } }, "/api/Room/owner/{id}": { "get": { "tags": [ "Room" ], "parameters": [ { "name": "id", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "page", "in": "query", "schema": { "type": "integer", "format": "int32", "default": 1 } }, { "name": "pageSize", "in": "query", "schema": { "type": "integer", "format": "int32", "default": 10 } }, { "name": "filter", "in": "query", "schema": { "type": "string", "default": "" } }, { "name": "orderBycol", "in": "query", "schema": { "type": "string", "default": "roomid" } }, { "name": "orderByAsc", "in": "query", "schema": { "type": "boolean", "default": true } } ], "responses": { "200": { "description": "OK", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/RoomApiGetReturnType" } }, "application/json": { "schema": { "$ref": "#/components/schemas/RoomApiGetReturnType" } }, "text/json": { "schema": { "$ref": "#/components/schemas/RoomApiGetReturnType" } } } } } } }, "/api/Room/{id}": { "get": { "tags": [ "Room" ], "parameters": [ { "name": "id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } } ], "responses": { "200": { "description": "OK", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/Room" } }, "application/json": { "schema": { "$ref": "#/components/schemas/Room" } }, "text/json": { "schema": { "$ref": "#/components/schemas/Room" } } } } } }, "put": { "tags": [ "Room" ], "parameters": [ { "name": "id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Room" } }, "text/json": { "schema": { "$ref": "#/components/schemas/Room" } }, "application/*+json": { "schema": { "$ref": "#/components/schemas/Room" } } } }, "responses": { "200": { "description": "OK" } } }, "delete": { "tags": [ "Room" ], "parameters": [ { "name": "id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } } ], "responses": { "200": { "description": "OK", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/Obj" } }, "application/json": { "schema": { "$ref": "#/components/schemas/Obj" } }, "text/json": { "schema": { "$ref": "#/components/schemas/Obj" } } } } } } }, "/api/Room/thumbnail/{id}": { "get": { "tags": [ "Room" ], "parameters": [ { "name": "id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } } ], "responses": { "200": { "description": "OK", "content": { "text/plain": { "schema": { "type": "string", "format": "binary" } }, "application/json": { "schema": { "type": "string", "format": "binary" } }, "text/json": { "schema": { "type": "string", "format": "binary" } } } } } } }, "/api/Room/model/{id}": { "get": { "tags": [ "Room" ], "parameters": [ { "name": "id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } } ], "responses": { "200": { "description": "OK", "content": { "text/plain": { "schema": { "type": "string", "format": "binary" } }, "application/json": { "schema": { "type": "string", "format": "binary" } }, "text/json": { "schema": { "type": "string", "format": "binary" } } } } } } }, "/api/Room/createAndGenerate": { "post": { "tags": [ "Room" ], "parameters": [ { "name": "name", "in": "query", "schema": { "type": "string" } }, { "name": "videoLength", "in": "query", "schema": { "type": "integer", "format": "int32" } } ], "requestBody": { "content": { "multipart/form-data": { "schema": { "type": "object", "properties": { "file": { "type": "string", "format": "binary" } } }, "encoding": { "file": { "style": "form" } } } } }, "responses": { "200": { "description": "OK" } } } }, "/api/Room": { "post": { "tags": [ "Room" ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/PostRoom" } }, "text/json": { "schema": { "$ref": "#/components/schemas/PostRoom" } }, "application/*+json": { "schema": { "$ref": "#/components/schemas/PostRoom" } } } }, "responses": { "200": { "description": "OK" } } } }, "/api/Room/gsService/modelGenerated": { "put": { "tags": [ "Room" ], "parameters": [ { "name": "id", "in": "query", "schema": { "type": "string", "format": "uuid" } }, { "name": "secKey", "in": "query", "schema": { "type": "string" } }, { "name": "value", "in": "query", "schema": { "type": "boolean" } } ], "responses": { "200": { "description": "OK", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/Room" } }, "application/json": { "schema": { "$ref": "#/components/schemas/Room" } }, "text/json": { "schema": { "$ref": "#/components/schemas/Room" } } } } } } }, "/api/Room/gsService/error": { "put": { "tags": [ "Room" ], "parameters": [ { "name": "id", "in": "query", "schema": { "type": "string", "format": "uuid" } }, { "name": "secKey", "in": "query", "schema": { "type": "string" } }, { "name": "error", "in": "query", "schema": { "type": "string" } } ], "responses": { "200": { "description": "OK" } } }, "get": { "tags": [ "Room" ], "parameters": [ { "name": "id", "in": "query", "schema": { "type": "string", "format": "uuid" } } ], "responses": { "200": { "description": "OK" } } } }, "/api/Room/share/getOwnerInfo": { "get": { "tags": [ "Room" ], "parameters": [ { "name": "roomId", "in": "query", "schema": { "type": "string", "format": "uuid" } } ], "responses": { "200": { "description": "OK" } } } }, "/api/Room/share": { "post": { "tags": [ "Room" ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/PostShare" } }, "text/json": { "schema": { "$ref": "#/components/schemas/PostShare" } }, "application/*+json": { "schema": { "$ref": "#/components/schemas/PostShare" } } } }, "responses": { "200": { "description": "OK" } } } }, "/api/Room/share/revoke": { "delete": { "tags": [ "Room" ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/PostShare" } }, "text/json": { "schema": { "$ref": "#/components/schemas/PostShare" } }, "application/*+json": { "schema": { "$ref": "#/components/schemas/PostShare" } } } }, "responses": { "200": { "description": "OK" } } } }, "/api/Room/share/getUsers": { "get": { "tags": [ "Room" ], "parameters": [ { "name": "roomId", "in": "query", "schema": { "type": "string", "format": "uuid" } } ], "responses": { "200": { "description": "OK" } } } }, "/admin/GetRoomPermissions": { "get": { "tags": [ "RoomPermissions" ], "parameters": [ { "name": "page", "in": "query", "schema": { "type": "integer", "format": "int32", "default": 1 } }, { "name": "pageSize", "in": "query", "schema": { "type": "integer", "format": "int32", "default": 10 } }, { "name": "orderByCol", "in": "query", "schema": { "type": "string", "default": "roomId" } }, { "name": "orderByAsc", "in": "query", "schema": { "type": "boolean", "default": true } }, { "name": "roomIdFilter", "in": "query", "schema": { "type": "string", "default": "" } }, { "name": "userIdFilter", "in": "query", "schema": { "type": "string", "default": "" } }, { "name": "renovationOnlyFilter", "in": "query", "schema": { "type": "boolean" } }, { "name": "canEditFilter", "in": "query", "schema": { "type": "boolean" } } ], "responses": { "200": { "description": "OK", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/RoomPermsApiGetReturnType" } }, "application/json": { "schema": { "$ref": "#/components/schemas/RoomPermsApiGetReturnType" } }, "text/json": { "schema": { "$ref": "#/components/schemas/RoomPermsApiGetReturnType" } } } } } } }, "/api/RoomPermissions": { "get": { "tags": [ "RoomPermissions" ], "parameters": [ { "name": "page", "in": "query", "schema": { "type": "integer", "format": "int32", "default": 1 } }, { "name": "pageSize", "in": "query", "schema": { "type": "integer", "format": "int32", "default": 10 } }, { "name": "orderBycol", "in": "query", "schema": { "type": "string", "default": "objectId" } }, { "name": "orderByAsc", "in": "query", "schema": { "type": "boolean", "default": true } }, { "name": "roomIdFilter", "in": "query", "schema": { "type": "string", "default": "" } }, { "name": "userIdFilter", "in": "query", "schema": { "type": "string", "default": "" } }, { "name": "renovationOnlyFilter", "in": "query", "schema": { "type": "boolean" } }, { "name": "canEditFilter", "in": "query", "schema": { "type": "boolean" } } ], "responses": { "200": { "description": "OK" } } }, "post": { "tags": [ "RoomPermissions" ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/PostRoomPermissions" } }, "text/json": { "schema": { "$ref": "#/components/schemas/PostRoomPermissions" } }, "application/*+json": { "schema": { "$ref": "#/components/schemas/PostRoomPermissions" } } } }, "responses": { "200": { "description": "OK", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/Obj" } }, "application/json": { "schema": { "$ref": "#/components/schemas/Obj" } }, "text/json": { "schema": { "$ref": "#/components/schemas/Obj" } } } } } }, "put": { "tags": [ "RoomPermissions" ], "parameters": [ { "name": "roomId", "in": "query", "schema": { "type": "string", "format": "uuid" } }, { "name": "userId", "in": "query", "schema": { "type": "string" } } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RoomPerms" } }, "text/json": { "schema": { "$ref": "#/components/schemas/RoomPerms" } }, "application/*+json": { "schema": { "$ref": "#/components/schemas/RoomPerms" } } } }, "responses": { "200": { "description": "OK", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/RoomPerms" } }, "application/json": { "schema": { "$ref": "#/components/schemas/RoomPerms" } }, "text/json": { "schema": { "$ref": "#/components/schemas/RoomPerms" } } } } } } }, "/api/RoomPermissions/{roomId, userId}": { "delete": { "tags": [ "RoomPermissions" ], "parameters": [ { "name": "roomId", "in": "query", "schema": { "type": "string", "format": "uuid" } }, { "name": "userId", "in": "query", "schema": { "type": "string" } }, { "name": "roomId, userId", "in": "path", "required": true, "schema": { "type": "string" } } ], "responses": { "200": { "description": "OK", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/Obj" } }, "application/json": { "schema": { "$ref": "#/components/schemas/Obj" } }, "text/json": { "schema": { "$ref": "#/components/schemas/Obj" } } } } } } }, "/admin/GetRoomsInRenovations": { "get": { "tags": [ "RoomsInRenovations" ], "parameters": [ { "name": "page", "in": "query", "schema": { "type": "integer", "format": "int32", "default": 1 } }, { "name": "pageSize", "in": "query", "schema": { "type": "integer", "format": "int32", "default": 10 } }, { "name": "filter", "in": "query", "schema": { "type": "string", "default": "" } }, { "name": "filterByCol", "in": "query", "schema": { "type": "string", "default": "id" } }, { "name": "orderByCol", "in": "query", "schema": { "type": "string", "default": "id" } }, { "name": "orderByAsc", "in": "query", "schema": { "type": "boolean", "default": true } }, { "name": "idFilter", "in": "query", "schema": { "type": "string", "default": "" } }, { "name": "roomIdFilter", "in": "query", "schema": { "type": "string", "default": "" } }, { "name": "renovationIdFilter", "in": "query", "schema": { "type": "string", "default": "" } }, { "name": "xFilter", "in": "query", "schema": { "type": "string", "default": "" } }, { "name": "yFilter", "in": "query", "schema": { "type": "string", "default": "" } }, { "name": "zFilter", "in": "query", "schema": { "type": "string", "default": "" } }, { "name": "rotationXFilter", "in": "query", "schema": { "type": "string", "default": "" } }, { "name": "rotationYFilter", "in": "query", "schema": { "type": "string", "default": "" } }, { "name": "rotationZFilter", "in": "query", "schema": { "type": "string", "default": "" } }, { "name": "scaleXFilter", "in": "query", "schema": { "type": "string", "default": "" } }, { "name": "scaleYFilter", "in": "query", "schema": { "type": "string", "default": "" } }, { "name": "scaleZFilter", "in": "query", "schema": { "type": "string", "default": "" } }, { "name": "visibleFilter", "in": "query", "schema": { "type": "boolean" } } ], "responses": { "200": { "description": "OK", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/RoomInRenovationApiGetReturnType" } }, "application/json": { "schema": { "$ref": "#/components/schemas/RoomInRenovationApiGetReturnType" } }, "text/json": { "schema": { "$ref": "#/components/schemas/RoomInRenovationApiGetReturnType" } } } } } } }, "/api/RoomsInRenovations/available": { "get": { "tags": [ "RoomsInRenovations" ], "parameters": [ { "name": "page", "in": "query", "schema": { "type": "integer", "format": "int32", "default": 1 } }, { "name": "pageSize", "in": "query", "schema": { "type": "integer", "format": "int32", "default": 10 } }, { "name": "filter", "in": "query", "schema": { "type": "string", "default": "" } }, { "name": "filterByCol", "in": "query", "schema": { "type": "string", "default": "id" } }, { "name": "orderByCol", "in": "query", "schema": { "type": "string", "default": "id" } }, { "name": "orderByAsc", "in": "query", "schema": { "type": "boolean", "default": true } }, { "name": "idFilter", "in": "query", "schema": { "type": "string", "default": "" } }, { "name": "roomIdFilter", "in": "query", "schema": { "type": "string", "default": "" } }, { "name": "renovationIdFilter", "in": "query", "schema": { "type": "string", "default": "" } }, { "name": "xFilter", "in": "query", "schema": { "type": "string", "default": "" } }, { "name": "yFilter", "in": "query", "schema": { "type": "string", "default": "" } }, { "name": "zFilter", "in": "query", "schema": { "type": "string", "default": "" } }, { "name": "rotationXFilter", "in": "query", "schema": { "type": "string", "default": "" } }, { "name": "rotationYFilter", "in": "query", "schema": { "type": "string", "default": "" } }, { "name": "rotationZFilter", "in": "query", "schema": { "type": "string", "default": "" } }, { "name": "scaleXFilter", "in": "query", "schema": { "type": "string", "default": "" } }, { "name": "scaleYFilter", "in": "query", "schema": { "type": "string", "default": "" } }, { "name": "scaleZFilter", "in": "query", "schema": { "type": "string", "default": "" } }, { "name": "visibleFilter", "in": "query", "schema": { "type": "boolean" } } ], "responses": { "200": { "description": "OK" } } } }, "/api/RoomsInRenovations": { "post": { "tags": [ "RoomsInRenovations" ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/PostRoomInRenovation" } }, "text/json": { "schema": { "$ref": "#/components/schemas/PostRoomInRenovation" } }, "application/*+json": { "schema": { "$ref": "#/components/schemas/PostRoomInRenovation" } } } }, "responses": { "200": { "description": "OK", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/Room" } }, "application/json": { "schema": { "$ref": "#/components/schemas/Room" } }, "text/json": { "schema": { "$ref": "#/components/schemas/Room" } } } } } }, "put": { "tags": [ "RoomsInRenovations" ], "parameters": [ { "name": "roomInRenovationId", "in": "query", "schema": { "type": "string", "format": "uuid" } } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RoomInRenovation" } }, "text/json": { "schema": { "$ref": "#/components/schemas/RoomInRenovation" } }, "application/*+json": { "schema": { "$ref": "#/components/schemas/RoomInRenovation" } } } }, "responses": { "200": { "description": "OK", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/RoomInRenovation" } }, "application/json": { "schema": { "$ref": "#/components/schemas/RoomInRenovation" } }, "text/json": { "schema": { "$ref": "#/components/schemas/RoomInRenovation" } } } } } } }, "/api/RoomsInRenovations/{id}": { "delete": { "tags": [ "RoomsInRenovations" ], "parameters": [ { "name": "id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } } ], "responses": { "200": { "description": "OK", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/Obj" } }, "application/json": { "schema": { "$ref": "#/components/schemas/Obj" } }, "text/json": { "schema": { "$ref": "#/components/schemas/Obj" } } } } } } }, "/api/Users/update/metadata": { "patch": { "tags": [ "Users" ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/UserMetadata" } }, "text/json": { "schema": { "$ref": "#/components/schemas/UserMetadata" } }, "application/*+json": { "schema": { "$ref": "#/components/schemas/UserMetadata" } } } }, "responses": { "200": { "description": "OK" } } } }, "/api/Users/update/metadata/shop": { "patch": { "tags": [ "Users" ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/UserMetadataShop" } }, "text/json": { "schema": { "$ref": "#/components/schemas/UserMetadataShop" } }, "application/*+json": { "schema": { "$ref": "#/components/schemas/UserMetadataShop" } } } }, "responses": { "200": { "description": "OK" } } } }, "/api/Users/update/metadata/decorator": { "patch": { "tags": [ "Users" ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/UserMetadataDecorator" } }, "text/json": { "schema": { "$ref": "#/components/schemas/UserMetadataDecorator" } }, "application/*+json": { "schema": { "$ref": "#/components/schemas/UserMetadataDecorator" } } } }, "responses": { "200": { "description": "OK" } } } }, "/api/Users/update/metadata/clear": { "patch": { "tags": [ "Users" ], "parameters": [ { "name": "metadataType", "in": "query", "schema": { "type": "string" } } ], "responses": { "200": { "description": "OK" } } } }, "/user/hasRole": { "get": { "tags": [ "Users" ], "parameters": [ { "name": "role", "in": "query", "schema": { "type": "string" } } ], "responses": { "200": { "description": "OK" } } } }, "/api/Users/password/reset": { "patch": { "tags": [ "Users" ], "parameters": [ { "name": "email", "in": "query", "schema": { "type": "string" } } ], "responses": { "200": { "description": "OK" } } } }, "/api/Users/decorator/{id}": { "get": { "tags": [ "Users" ], "parameters": [ { "name": "id", "in": "path", "required": true, "schema": { "type": "string" } } ], "responses": { "200": { "description": "OK" } } } }, "/api/Users/shop/{id}": { "get": { "tags": [ "Users" ], "parameters": [ { "name": "id", "in": "path", "required": true, "schema": { "type": "string" } } ], "responses": { "200": { "description": "OK" } } } } }, "components": { "schemas": { "Config": { "type": "object", "properties": { "name": { "type": "string", "nullable": true }, "maxRooms": { "type": "integer", "format": "int32" }, "maxObjects": { "type": "integer", "format": "int32" }, "maxRenovations": { "type": "integer", "format": "int32" }, "maxFrames": { "type": "integer", "format": "int32" } }, "additionalProperties": false }, "Obj": { "required": [ "ownerId" ], "type": "object", "properties": { "objectId": { "type": "string", "format": "uuid" }, "ownerId": { "type": "string", "nullable": true }, "videoUploaded": { "type": "boolean" }, "modelGenerated": { "type": "boolean" }, "width": { "type": "number", "format": "float" }, "height": { "type": "number", "format": "float" }, "length": { "type": "number", "format": "float" }, "name": { "type": "string", "nullable": true }, "thumbnail": { "type": "string", "nullable": true }, "purchaseLink": { "type": "string", "nullable": true }, "generationDate": { "type": "string", "format": "date-time", "nullable": true }, "creationDate": { "type": "string", "format": "date-time" }, "uploadDate": { "type": "string", "format": "date-time", "nullable": true }, "modifyDate": { "type": "string", "format": "date-time" }, "error": { "type": "string", "nullable": true }, "public": { "type": "boolean" }, "type": { "$ref": "#/components/schemas/ObjectTypes" } }, "additionalProperties": false }, "ObjApiGetReturnType": { "type": "object", "properties": { "totalCount": { "type": "integer", "format": "int32" }, "totalPages": { "type": "integer", "format": "int32" }, "currentPage": { "type": "integer", "format": "int32" }, "pageSize": { "type": "integer", "format": "int32" }, "returnedObjects": { "type": "array", "items": { "$ref": "#/components/schemas/Obj" }, "nullable": true } }, "additionalProperties": false }, "ObjectApiGetReturnType": { "type": "object", "properties": { "totalCount": { "type": "integer", "format": "int32" }, "totalPages": { "type": "integer", "format": "int32" }, "currentPage": { "type": "integer", "format": "int32" }, "pageSize": { "type": "integer", "format": "int32" }, "returnedObjects": { "type": "array", "items": { }, "nullable": true } }, "additionalProperties": false }, "ObjectInRenovation": { "type": "object", "properties": { "id": { "type": "string", "format": "uuid" }, "objectId": { "type": "string", "format": "uuid" }, "renovationId": { "type": "string", "format": "uuid" }, "x": { "type": "number", "format": "float" }, "y": { "type": "number", "format": "float" }, "z": { "type": "number", "format": "float" }, "rotationX": { "type": "number", "format": "float" }, "rotationY": { "type": "number", "format": "float" }, "rotationZ": { "type": "number", "format": "float" }, "scaleX": { "type": "number", "format": "float" }, "scaleY": { "type": "number", "format": "float" }, "scaleZ": { "type": "number", "format": "float" }, "visible": { "type": "boolean" } }, "additionalProperties": false }, "ObjectInRenovationApiGetReturnType": { "type": "object", "properties": { "totalCount": { "type": "integer", "format": "int32" }, "totalPages": { "type": "integer", "format": "int32" }, "currentPage": { "type": "integer", "format": "int32" }, "pageSize": { "type": "integer", "format": "int32" }, "returnedObjects": { "type": "array", "items": { "$ref": "#/components/schemas/ObjectInRenovation" }, "nullable": true } }, "additionalProperties": false }, "ObjectPerms": { "required": [ "userId" ], "type": "object", "properties": { "objectId": { "type": "string", "format": "uuid" }, "userId": { "type": "string", "nullable": true }, "renovationOnly": { "type": "boolean" }, "canEdit": { "type": "boolean" } }, "additionalProperties": false }, "ObjectPermsApiGetReturnType": { "type": "object", "properties": { "totalCount": { "type": "integer", "format": "int32" }, "totalPages": { "type": "integer", "format": "int32" }, "currentPage": { "type": "integer", "format": "int32" }, "pageSize": { "type": "integer", "format": "int32" }, "returnedObjects": { "type": "array", "items": { "$ref": "#/components/schemas/ObjectPerms" }, "nullable": true } }, "additionalProperties": false }, "ObjectTypes": { "enum": [ 0, 1 ], "type": "integer", "format": "int32" }, "PortalTypes": { "enum": [ 0, 1 ], "type": "integer", "format": "int32" }, "PostObject": { "type": "object", "properties": { "videoUploaded": { "type": "boolean" }, "modelGenerated": { "type": "boolean" }, "public": { "type": "boolean" }, "width": { "type": "number", "format": "float" }, "height": { "type": "number", "format": "float" }, "length": { "type": "number", "format": "float" }, "name": { "type": "string", "nullable": true }, "thumbnail": { "type": "string", "nullable": true }, "purchaseLink": { "type": "string", "nullable": true }, "type": { "$ref": "#/components/schemas/ObjectTypes" } }, "additionalProperties": false }, "PostObjectInRenovation": { "type": "object", "properties": { "objectId": { "type": "string", "format": "uuid" }, "renovationId": { "type": "string", "format": "uuid" }, "x": { "type": "number", "format": "float" }, "y": { "type": "number", "format": "float" }, "z": { "type": "number", "format": "float" }, "rotationX": { "type": "number", "format": "float" }, "rotationY": { "type": "number", "format": "float" }, "rotationZ": { "type": "number", "format": "float" }, "scaleX": { "type": "number", "format": "float" }, "scaleY": { "type": "number", "format": "float" }, "scaleZ": { "type": "number", "format": "float" }, "visible": { "type": "boolean" } }, "additionalProperties": false }, "PostObjectPermissions": { "required": [ "userId" ], "type": "object", "properties": { "objectId": { "type": "string", "format": "uuid" }, "userId": { "type": "string", "nullable": true }, "renovationOnly": { "type": "boolean" }, "canEdit": { "type": "boolean" } }, "additionalProperties": false }, "PostRenovation": { "type": "object", "properties": { "roomId": { "type": "string", "format": "uuid" }, "public": { "type": "boolean" }, "name": { "type": "string", "nullable": true }, "type": { "$ref": "#/components/schemas/RenovationTypes" } }, "additionalProperties": false }, "PostRenovationPermissions": { "required": [ "userId" ], "type": "object", "properties": { "renovationId": { "type": "string", "format": "uuid" }, "userId": { "type": "string", "nullable": true }, "canEdit": { "type": "boolean" } }, "additionalProperties": false }, "PostRoom": { "type": "object", "properties": { "width": { "type": "number", "format": "float" }, "height": { "type": "number", "format": "float" }, "length": { "type": "number", "format": "float" }, "videoUploaded": { "type": "boolean" }, "modelGenerated": { "type": "boolean" }, "visibility": { "type": "boolean" }, "name": { "type": "string", "nullable": true }, "thumbnail": { "type": "string", "nullable": true } }, "additionalProperties": false }, "PostRoomInRenovation": { "type": "object", "properties": { "roomId": { "type": "string", "format": "uuid" }, "renovationId": { "type": "string", "format": "uuid" }, "x": { "type": "number", "format": "float" }, "y": { "type": "number", "format": "float" }, "z": { "type": "number", "format": "float" }, "rotationX": { "type": "number", "format": "float" }, "rotationY": { "type": "number", "format": "float" }, "rotationZ": { "type": "number", "format": "float" }, "scaleX": { "type": "number", "format": "float" }, "scaleY": { "type": "number", "format": "float" }, "scaleZ": { "type": "number", "format": "float" }, "visible": { "type": "boolean" } }, "additionalProperties": false }, "PostRoomPermissions": { "type": "object", "properties": { "roomId": { "type": "string", "format": "uuid" }, "userId": { "type": "string", "nullable": true }, "renovationOnly": { "type": "boolean" }, "canEdit": { "type": "boolean" } }, "additionalProperties": false }, "PostShare": { "required": [ "userEmail" ], "type": "object", "properties": { "userEmail": { "type": "string", "nullable": true }, "id": { "type": "string", "format": "uuid" }, "canEdit": { "type": "boolean" } }, "additionalProperties": false }, "Renovation": { "required": [ "ownerId" ], "type": "object", "properties": { "renovationId": { "type": "string", "format": "uuid" }, "ownerId": { "type": "string", "nullable": true }, "public": { "type": "boolean" }, "name": { "type": "string", "nullable": true }, "modificationDate": { "type": "string", "format": "date-time" }, "creationDate": { "type": "string", "format": "date-time" }, "type": { "$ref": "#/components/schemas/RenovationTypes" } }, "additionalProperties": false }, "RenovationApiGetReturnType": { "type": "object", "properties": { "totalCount": { "type": "integer", "format": "int32" }, "totalPages": { "type": "integer", "format": "int32" }, "currentPage": { "type": "integer", "format": "int32" }, "pageSize": { "type": "integer", "format": "int32" }, "returnedObjects": { "type": "array", "items": { "$ref": "#/components/schemas/Renovation" }, "nullable": true } }, "additionalProperties": false }, "RenovationPerms": { "type": "object", "properties": { "renovationId": { "type": "string", "format": "uuid" }, "userId": { "type": "string", "nullable": true }, "canEdit": { "type": "boolean" } }, "additionalProperties": false }, "RenovationPermsApiGetReturnType": { "type": "object", "properties": { "totalCount": { "type": "integer", "format": "int32" }, "totalPages": { "type": "integer", "format": "int32" }, "currentPage": { "type": "integer", "format": "int32" }, "pageSize": { "type": "integer", "format": "int32" }, "returnedObjects": { "type": "array", "items": { "$ref": "#/components/schemas/RenovationPerms" }, "nullable": true } }, "additionalProperties": false }, "RenovationTypes": { "enum": [ 0, 1 ], "type": "integer", "format": "int32" }, "Room": { "type": "object", "properties": { "roomId": { "type": "string", "format": "uuid" }, "ownerId": { "type": "string", "nullable": true }, "width": { "type": "number", "format": "float" }, "height": { "type": "number", "format": "float" }, "length": { "type": "number", "format": "float" }, "videoUploaded": { "type": "boolean" }, "modelGenerated": { "type": "boolean" }, "visibility": { "type": "boolean" }, "name": { "type": "string", "nullable": true }, "thumbnail": { "type": "string", "nullable": true }, "generationDate": { "type": "string", "format": "date-time", "nullable": true }, "creationDate": { "type": "string", "format": "date-time" }, "uploadDate": { "type": "string", "format": "date-time", "nullable": true }, "modifyDate": { "type": "string", "format": "date-time" }, "error": { "type": "string", "nullable": true } }, "additionalProperties": false }, "RoomApiGetReturnType": { "type": "object", "properties": { "totalCount": { "type": "integer", "format": "int32" }, "totalPages": { "type": "integer", "format": "int32" }, "currentPage": { "type": "integer", "format": "int32" }, "pageSize": { "type": "integer", "format": "int32" }, "returnedObjects": { "type": "array", "items": { "$ref": "#/components/schemas/Room" }, "nullable": true } }, "additionalProperties": false }, "RoomInRenovation": { "type": "object", "properties": { "id": { "type": "string", "format": "uuid" }, "roomId": { "type": "string", "format": "uuid" }, "renovationId": { "type": "string", "format": "uuid" }, "x": { "type": "number", "format": "float" }, "y": { "type": "number", "format": "float" }, "z": { "type": "number", "format": "float" }, "rotationX": { "type": "number", "format": "float" }, "rotationY": { "type": "number", "format": "float" }, "rotationZ": { "type": "number", "format": "float" }, "scaleX": { "type": "number", "format": "float" }, "scaleY": { "type": "number", "format": "float" }, "scaleZ": { "type": "number", "format": "float" }, "visible": { "type": "boolean" } }, "additionalProperties": false }, "RoomInRenovationApiGetReturnType": { "type": "object", "properties": { "totalCount": { "type": "integer", "format": "int32" }, "totalPages": { "type": "integer", "format": "int32" }, "currentPage": { "type": "integer", "format": "int32" }, "pageSize": { "type": "integer", "format": "int32" }, "returnedObjects": { "type": "array", "items": { "$ref": "#/components/schemas/RoomInRenovation" }, "nullable": true } }, "additionalProperties": false }, "RoomPerms": { "type": "object", "properties": { "roomId": { "type": "string", "format": "uuid" }, "userId": { "type": "string", "nullable": true }, "renovationOnly": { "type": "boolean" }, "canEdit": { "type": "boolean" } }, "additionalProperties": false }, "RoomPermsApiGetReturnType": { "type": "object", "properties": { "totalCount": { "type": "integer", "format": "int32" }, "totalPages": { "type": "integer", "format": "int32" }, "currentPage": { "type": "integer", "format": "int32" }, "pageSize": { "type": "integer", "format": "int32" }, "returnedObjects": { "type": "array", "items": { "$ref": "#/components/schemas/RoomPerms" }, "nullable": true } }, "additionalProperties": false }, "SubscriptionInfo": { "required": [ "renewalDate", "state" ], "type": "object", "properties": { "renewalDate": { "type": "string", "format": "date-time" }, "state": { "type": "string", "nullable": true } }, "additionalProperties": false }, "UserMetadata": { "type": "object", "properties": { "name": { "type": "string", "nullable": true }, "surname": { "type": "string", "nullable": true }, "contactEmail": { "type": "string", "nullable": true }, "contactPhone": { "type": "string", "nullable": true } }, "additionalProperties": false }, "UserMetadataDecorator": { "type": "object", "properties": { "name": { "type": "string", "nullable": true }, "surname": { "type": "string", "nullable": true }, "contactEmail": { "type": "string", "nullable": true }, "contactPhone": { "type": "string", "nullable": true }, "region": { "type": "string", "nullable": true }, "description": { "type": "string", "nullable": true } }, "additionalProperties": false }, "UserMetadataShop": { "type": "object", "properties": { "name": { "type": "string", "nullable": true }, "surname": { "type": "string", "nullable": true }, "contactEmail": { "type": "string", "nullable": true }, "contactPhone": { "type": "string", "nullable": true }, "shopName": { "type": "string", "nullable": true }, "street": { "type": "string", "nullable": true }, "number": { "type": "string", "nullable": true }, "city": { "type": "string", "nullable": true }, "code": { "type": "string", "nullable": true } }, "additionalProperties": false } }, "securitySchemes": { "Bearer": { "type": "apiKey", "description": "Enter 'Bearer' followed by your JWT token.", "name": "Authorization", "in": "header" } } }, "security": [ { "Bearer": [ ] } ] }