{ "openapi": "3.0.1", "info": { "title": "WorldCereal OGC Data APIs", "description": "

Demo Collections Python Notebook and Demo User Datasets Python Notebook .

", "version": "v1" }, "paths": { "/collections": { "get": { "tags": [ "Collection" ], "parameters": [ { "name": "SkipCount", "in": "query", "schema": { "maximum": 2147483647, "minimum": 0, "type": "integer", "format": "int32" } }, { "name": "MaxResultCount", "in": "query", "schema": { "maximum": 2147483647, "minimum": 1, "type": "integer", "format": "int32" } } ], "responses": { "200": { "description": "Success", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/CollectionMetadataDtoPagedResultDto" } }, "application/json": { "schema": { "$ref": "#/components/schemas/CollectionMetadataDtoPagedResultDto" } }, "text/json": { "schema": { "$ref": "#/components/schemas/CollectionMetadataDtoPagedResultDto" } } } }, "403": { "description": "Forbidden", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } } } }, "401": { "description": "Unauthorized", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } } } }, "400": { "description": "Bad Request", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } } } }, "404": { "description": "Not Found", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } } } }, "501": { "description": "Server Error", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } } } }, "500": { "description": "Server Error", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } } } } } } }, "/collections/map": { "get": { "tags": [ "Collection" ], "parameters": [ { "name": "Year", "in": "query", "schema": { "type": "integer", "format": "int32" } }, { "name": "EwocCodes", "in": "query", "schema": { "type": "string" } }, { "name": "SkipCount", "in": "query", "schema": { "maximum": 2147483647, "minimum": 0, "type": "integer", "format": "int32" } }, { "name": "MaxResultCount", "in": "query", "schema": { "maximum": 2147483647, "minimum": 1, "type": "integer", "format": "int32" } } ], "responses": { "403": { "description": "Forbidden", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } } } }, "401": { "description": "Unauthorized", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } } } }, "400": { "description": "Bad Request", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } } } }, "404": { "description": "Not Found", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } } } }, "501": { "description": "Server Error", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } } } }, "500": { "description": "Server Error", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } } } } } } }, "/collections/stats": { "get": { "tags": [ "Collection" ], "parameters": [ { "name": "storeType", "in": "query", "schema": { "$ref": "#/components/schemas/StoreType" } }, { "name": "year", "in": "query", "schema": { "type": "integer", "format": "int32", "default": 0 } }, { "name": "ewocCodes", "in": "query", "schema": { "type": "string", "default": "" } } ], "responses": { "200": { "description": "Success", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/CollectionStats" } }, "application/json": { "schema": { "$ref": "#/components/schemas/CollectionStats" } }, "text/json": { "schema": { "$ref": "#/components/schemas/CollectionStats" } } } }, "403": { "description": "Forbidden", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } } } }, "401": { "description": "Unauthorized", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } } } }, "400": { "description": "Bad Request", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } } } }, "404": { "description": "Not Found", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } } } }, "501": { "description": "Server Error", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } } } }, "500": { "description": "Server Error", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } } } } } } }, "/collections/{collectionId}": { "get": { "tags": [ "Collection" ], "parameters": [ { "name": "collectionId", "in": "path", "required": true, "schema": { "type": "string" } } ], "responses": { "200": { "description": "Success", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/CollectionMetadataDto" } }, "application/json": { "schema": { "$ref": "#/components/schemas/CollectionMetadataDto" } }, "text/json": { "schema": { "$ref": "#/components/schemas/CollectionMetadataDto" } } } }, "403": { "description": "Forbidden", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } } } }, "401": { "description": "Unauthorized", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } } } }, "400": { "description": "Bad Request", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } } } }, "404": { "description": "Not Found", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } } } }, "501": { "description": "Server Error", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } } } }, "500": { "description": "Server Error", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } } } } } } }, "/collections/{collectionId}/license": { "get": { "tags": [ "Collection" ], "parameters": [ { "name": "collectionId", "in": "path", "required": true, "schema": { "type": "string" } } ], "responses": { "403": { "description": "Forbidden", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } } } }, "401": { "description": "Unauthorized", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } } } }, "400": { "description": "Bad Request", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } } } }, "404": { "description": "Not Found", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } } } }, "501": { "description": "Server Error", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } } } }, "500": { "description": "Server Error", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } } } } } } }, "/collections/{collectionId}/download": { "get": { "tags": [ "Collection" ], "parameters": [ { "name": "collectionId", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "force", "in": "query", "schema": { "type": "boolean" } } ], "responses": { "403": { "description": "Forbidden", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } } } }, "401": { "description": "Unauthorized", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } } } }, "400": { "description": "Bad Request", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } } } }, "404": { "description": "Not Found", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } } } }, "501": { "description": "Server Error", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } } } }, "500": { "description": "Server Error", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } } } } } }, "put": { "tags": [ "Collection" ], "parameters": [ { "name": "collectionId", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "url", "in": "query", "schema": { "type": "string" } } ], "responses": { "200": { "description": "Success" }, "403": { "description": "Forbidden", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } } } }, "401": { "description": "Unauthorized", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } } } }, "400": { "description": "Bad Request", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } } } }, "404": { "description": "Not Found", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } } } }, "501": { "description": "Server Error", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } } } }, "500": { "description": "Server Error", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } } } } } } }, "/collections/{collectionId}/sample/download": { "put": { "tags": [ "Collection" ], "parameters": [ { "name": "collectionId", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "url", "in": "query", "schema": { "type": "string" } } ], "responses": { "200": { "description": "Success" }, "403": { "description": "Forbidden", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } } } }, "401": { "description": "Unauthorized", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } } } }, "400": { "description": "Bad Request", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } } } }, "404": { "description": "Not Found", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } } } }, "501": { "description": "Server Error", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } } } }, "500": { "description": "Server Error", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } } } } } }, "get": { "tags": [ "Collection" ], "parameters": [ { "name": "collectionId", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "force", "in": "query", "schema": { "type": "boolean" } } ], "responses": { "403": { "description": "Forbidden", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } } } }, "401": { "description": "Unauthorized", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } } } }, "400": { "description": "Bad Request", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } } } }, "404": { "description": "Not Found", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } } } }, "501": { "description": "Server Error", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } } } }, "500": { "description": "Server Error", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } } } } } } }, "/collections/{collectionId}/available": { "get": { "tags": [ "Collection" ], "parameters": [ { "name": "collectionId", "in": "path", "required": true, "schema": { "type": "string" } } ], "responses": { "200": { "description": "Success", "content": { "text/plain": { "schema": { "type": "boolean" } }, "application/json": { "schema": { "type": "boolean" } }, "text/json": { "schema": { "type": "boolean" } } } }, "403": { "description": "Forbidden", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } } } }, "401": { "description": "Unauthorized", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } } } }, "400": { "description": "Bad Request", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } } } }, "404": { "description": "Not Found", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } } } }, "501": { "description": "Server Error", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } } } }, "500": { "description": "Server Error", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } } } } } } }, "/eotypes/{type}": { "get": { "tags": [ "CollectionMetadata" ], "parameters": [ { "name": "type", "in": "path", "required": true, "schema": { "$ref": "#/components/schemas/CodeType" } } ], "responses": { "200": { "description": "Success", "content": { "text/plain": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/EoTypeDto" } } }, "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/EoTypeDto" } } }, "text/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/EoTypeDto" } } } } }, "403": { "description": "Forbidden", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } } } }, "401": { "description": "Unauthorized", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } } } }, "400": { "description": "Bad Request", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } } } }, "404": { "description": "Not Found", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } } } }, "501": { "description": "Server Error", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } } } }, "500": { "description": "Server Error", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } } } } } } }, "/collections/{collectionId}/metadata/items": { "get": { "tags": [ "CollectionMetadata" ], "parameters": [ { "name": "collectionId", "in": "path", "required": true, "schema": { "type": "string" } } ], "responses": { "200": { "description": "Success", "content": { "text/plain": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/MetadataItemDto" } } }, "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/MetadataItemDto" } } }, "text/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/MetadataItemDto" } } } } }, "403": { "description": "Forbidden", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } } } }, "401": { "description": "Unauthorized", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } } } }, "400": { "description": "Bad Request", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } } } }, "404": { "description": "Not Found", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } } } }, "501": { "description": "Server Error", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } } } }, "500": { "description": "Server Error", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } } } } } }, "post": { "tags": [ "CollectionMetadata" ], "parameters": [ { "name": "collectionId", "in": "path", "required": true, "schema": { "type": "string" } } ], "requestBody": { "content": { "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/MetadataItemDto" } } }, "text/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/MetadataItemDto" } } }, "application/*+json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/MetadataItemDto" } } } } }, "responses": { "200": { "description": "Success", "content": { "text/plain": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/MetadataItemDto" } } }, "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/MetadataItemDto" } } }, "text/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/MetadataItemDto" } } } } }, "403": { "description": "Forbidden", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } } } }, "401": { "description": "Unauthorized", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } } } }, "400": { "description": "Bad Request", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } } } }, "404": { "description": "Not Found", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } } } }, "501": { "description": "Server Error", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } } } }, "500": { "description": "Server Error", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } } } } } } }, "/collections/{collectionId}/download/counts": { "get": { "tags": [ "CollectionMetadata" ], "parameters": [ { "name": "collectionId", "in": "path", "required": true, "schema": { "type": "string" } } ], "responses": { "200": { "description": "Success", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/DownloadCounts" } }, "application/json": { "schema": { "$ref": "#/components/schemas/DownloadCounts" } }, "text/json": { "schema": { "$ref": "#/components/schemas/DownloadCounts" } } } }, "403": { "description": "Forbidden", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } } } }, "401": { "description": "Unauthorized", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } } } }, "400": { "description": "Bad Request", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } } } }, "404": { "description": "Not Found", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } } } }, "501": { "description": "Server Error", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } } } }, "500": { "description": "Server Error", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } } } } } }, "put": { "tags": [ "CollectionMetadata" ], "parameters": [ { "name": "collectionId", "in": "path", "required": true, "schema": { "type": "string" } } ], "requestBody": { "content": { "application/json": { "schema": { "type": "string" } }, "text/json": { "schema": { "type": "string" } }, "application/*+json": { "schema": { "type": "string" } } } }, "responses": { "200": { "description": "Success", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/DownloadCounts" } }, "application/json": { "schema": { "$ref": "#/components/schemas/DownloadCounts" } }, "text/json": { "schema": { "$ref": "#/components/schemas/DownloadCounts" } } } }, "403": { "description": "Forbidden", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } } } }, "401": { "description": "Unauthorized", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } } } }, "400": { "description": "Bad Request", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } } } }, "404": { "description": "Not Found", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } } } }, "501": { "description": "Server Error", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } } } }, "500": { "description": "Server Error", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } } } } } } }, "/collections/{collectionId}/metadata/upload": { "post": { "tags": [ "CollectionMetadata" ], "parameters": [ { "name": "collectionId", "in": "path", "required": true, "schema": { "type": "string" } } ], "requestBody": { "content": { "multipart/form-data": { "schema": { "type": "object", "properties": { "excelBook": { "type": "string", "format": "binary" } } }, "encoding": { "excelBook": { "style": "form" } } } } }, "responses": { "403": { "description": "Forbidden", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } } } }, "401": { "description": "Unauthorized", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } } } }, "400": { "description": "Bad Request", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } } } }, "404": { "description": "Not Found", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } } } }, "501": { "description": "Server Error", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } } } }, "500": { "description": "Server Error", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } } } } } } }, "/collections/{collectionId}/metadata/download": { "get": { "tags": [ "CollectionMetadata" ], "parameters": [ { "name": "collectionId", "in": "path", "required": true, "schema": { "type": "string" } } ], "responses": { "403": { "description": "Forbidden", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } } } }, "401": { "description": "Unauthorized", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } } } }, "400": { "description": "Bad Request", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } } } }, "404": { "description": "Not Found", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } } } }, "501": { "description": "Server Error", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } } } }, "500": { "description": "Server Error", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } } } } } } }, "/collections/{collectionId}/metadata/calculate": { "put": { "tags": [ "CollectionMetadata" ], "parameters": [ { "name": "collectionId", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "date", "in": "query", "schema": { "type": "boolean", "default": false } }, { "name": "extent", "in": "query", "schema": { "type": "boolean", "default": false } } ], "responses": { "200": { "description": "Success" }, "403": { "description": "Forbidden", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } } } }, "401": { "description": "Unauthorized", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } } } }, "400": { "description": "Bad Request", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } } } }, "404": { "description": "Not Found", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } } } }, "501": { "description": "Server Error", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } } } }, "500": { "description": "Server Error", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } } } } } } }, "/collections/{collectionId}/metadata/item/{id}": { "put": { "tags": [ "CollectionMetadata" ], "parameters": [ { "name": "collectionId", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "id", "in": "path", "required": true, "schema": { "type": "integer", "format": "int32" } } ], "requestBody": { "content": { "application/json": { "schema": { "type": "string" } }, "text/json": { "schema": { "type": "string" } }, "application/*+json": { "schema": { "type": "string" } } } }, "responses": { "200": { "description": "Success", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/MetadataItemDto" } }, "application/json": { "schema": { "$ref": "#/components/schemas/MetadataItemDto" } }, "text/json": { "schema": { "$ref": "#/components/schemas/MetadataItemDto" } } } }, "403": { "description": "Forbidden", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } } } }, "401": { "description": "Unauthorized", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } } } }, "400": { "description": "Bad Request", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } } } }, "404": { "description": "Not Found", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } } } }, "501": { "description": "Server Error", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } } } }, "500": { "description": "Server Error", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } } } } } }, "delete": { "tags": [ "CollectionMetadata" ], "parameters": [ { "name": "collectionId", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "id", "in": "path", "required": true, "schema": { "type": "integer", "format": "int32" } } ], "responses": { "403": { "description": "Forbidden", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } } } }, "401": { "description": "Unauthorized", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } } } }, "400": { "description": "Bad Request", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } } } }, "404": { "description": "Not Found", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } } } }, "501": { "description": "Server Error", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } } } }, "500": { "description": "Server Error", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } } } } } } }, "/collections/{collectionId}/metadata/{itemName}": { "put": { "tags": [ "CollectionMetadata" ], "parameters": [ { "name": "collectionId", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "itemName", "in": "path", "required": true, "schema": { "type": "string" } } ], "requestBody": { "content": { "application/json": { "schema": { "type": "string" } }, "text/json": { "schema": { "type": "string" } }, "application/*+json": { "schema": { "type": "string" } } } }, "responses": { "200": { "description": "Success", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/MetadataItemDto" } }, "application/json": { "schema": { "$ref": "#/components/schemas/MetadataItemDto" } }, "text/json": { "schema": { "$ref": "#/components/schemas/MetadataItemDto" } } } }, "403": { "description": "Forbidden", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } } } }, "401": { "description": "Unauthorized", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } } } }, "400": { "description": "Bad Request", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } } } }, "404": { "description": "Not Found", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } } } }, "501": { "description": "Server Error", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } } } }, "500": { "description": "Server Error", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } } } } } } }, "/collections/{collectionId}/events": { "get": { "tags": [ "CollectionMetadata" ], "parameters": [ { "name": "collectionId", "in": "path", "required": true, "schema": { "type": "string" } } ], "responses": { "200": { "description": "Success", "content": { "text/plain": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/DatasetEventViewModel" } } }, "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/DatasetEventViewModel" } } }, "text/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/DatasetEventViewModel" } } } } }, "403": { "description": "Forbidden", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } } } }, "401": { "description": "Unauthorized", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } } } }, "400": { "description": "Bad Request", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } } } }, "404": { "description": "Not Found", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } } } }, "501": { "description": "Server Error", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } } } }, "500": { "description": "Server Error", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } } } } } } }, "/collections/{collectionId}/public/submit": { "get": { "tags": [ "CollectionMetadata" ], "parameters": [ { "name": "collectionId", "in": "path", "required": true, "schema": { "type": "string" } } ], "responses": { "403": { "description": "Forbidden", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } } } }, "401": { "description": "Unauthorized", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } } } }, "400": { "description": "Bad Request", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } } } }, "404": { "description": "Not Found", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } } } }, "501": { "description": "Server Error", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } } } }, "500": { "description": "Server Error", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } } } } } } }, "/collections/{collectionId}/add/{eventType}": { "put": { "tags": [ "CollectionMetadata" ], "parameters": [ { "name": "collectionId", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "eventType", "in": "path", "required": true, "schema": { "$ref": "#/components/schemas/EventType" } } ], "requestBody": { "content": { "application/json": { "schema": { "type": "array", "items": { "type": "string" } } }, "text/json": { "schema": { "type": "array", "items": { "type": "string" } } }, "application/*+json": { "schema": { "type": "array", "items": { "type": "string" } } } } }, "responses": { "403": { "description": "Forbidden", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } } } }, "401": { "description": "Unauthorized", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } } } }, "400": { "description": "Bad Request", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } } } }, "404": { "description": "Not Found", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } } } }, "501": { "description": "Server Error", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } } } }, "500": { "description": "Server Error", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } } } } } } }, "/collections/search": { "get": { "tags": [ "CollectionSearch" ], "summary": "Get collections", "description": "Gets list of Collections based on query parameters. Empty parameter are treated as * and all values are returned. BBox is mandatory", "parameters": [ { "name": "SkipCount", "in": "query", "description": "SkipCount count", "schema": { "type": "integer", "format": "int32" } }, { "name": "MaxResultCount", "in": "query", "description": "MaxResultCount the count of items returned", "schema": { "type": "integer", "format": "int32" } }, { "name": "ValidityTime.Start", "in": "query", "description": "Optional StartTime eg - 2019-06-30T00:00:00Z (yyyy-MM-ddTHH:mm:ssZ)", "schema": { "type": "string", "format": "date-time" } }, { "name": "ValidityTime.End", "in": "query", "description": "Optional EndTime eg - 2019-06-30T00:00:00Z (yyyy-MM-ddTHH:mm:ssZ)", "schema": { "type": "string", "format": "date-time" } }, { "name": "EwocCodes", "in": "query", "description": "The optional EwocCodes to be selected", "schema": { "type": "array", "items": { "type": "integer", "format": "int64" } } }, { "name": "IrrigationTypes", "in": "query", "schema": { "type": "array", "items": { "type": "integer", "format": "int32" } } }, { "name": "LandCoverConfidence.Start", "in": "query", "description": "decimal Start value, Default=0", "schema": { "type": "integer", "format": "int32" } }, { "name": "LandCoverConfidence.End", "in": "query", "description": "decimal End value, Default=100", "schema": { "type": "integer", "format": "int32" } }, { "name": "CropTypeConfidence.Start", "in": "query", "description": "decimal Start value, Default=0", "schema": { "type": "integer", "format": "int32" } }, { "name": "CropTypeConfidence.End", "in": "query", "description": "decimal End value, Default=100", "schema": { "type": "integer", "format": "int32" } }, { "name": "IrrigationConfidence.Start", "in": "query", "description": "decimal Start value, Default=0", "schema": { "type": "integer", "format": "int32" } }, { "name": "IrrigationConfidence.End", "in": "query", "description": "decimal End value, Default=100", "schema": { "type": "integer", "format": "int32" } }, { "name": "Bbox", "in": "query", "description": "Only features that have a geometry that intersects the bounding box are selected. The bounding box is provided as four decimals: * Lower left corner, coordinate axis 1 * Lower left corner, coordinate axis 2 * Upper right corner, coordinate axis 1 * Upper right corner, coordinate axis 2 The coordinate reference system of the values is always WGS 84 longitude/latitude (http://www.opengis.net/def/crs/OGC/1.3/CRS84). The values are sequence of minimum longitude, minimum latitude, maximum longitude and maximum latitude.", "required": true, "schema": { "type": "array", "items": { "type": "number", "format": "double" } } } ], "responses": { "200": { "description": "Success", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/CollectionMetadataDto" } }, "application/json": { "schema": { "$ref": "#/components/schemas/CollectionMetadataDto" } }, "text/json": { "schema": { "$ref": "#/components/schemas/CollectionMetadataDto" } } } }, "400": { "description": "Bad Request" }, "404": { "description": "Not Found" }, "500": { "description": "Server Error" }, "403": { "description": "Forbidden", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } } } }, "401": { "description": "Unauthorized", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } } } }, "501": { "description": "Server Error", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } } } } } } }, "/collections/{collectionId}/items/{featureId}": { "get": { "tags": [ "Item" ], "summary": "Get single feature", "description": "Fetch the feature with id `featureId` in the feature collection with id `collectionId`. Use content negotiation to request HTML or GeoJSON.", "parameters": [ { "name": "collectionId", "in": "path", "description": "local identifier of a collection", "required": true, "schema": { "type": "string" } }, { "name": "featureId", "in": "path", "description": "local identifier of a feature", "required": true, "schema": { "type": "string" } } ], "responses": { "200": { "description": "fetch the feature with id `featureId` in the feature collection with id `collectionId`", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/FeatureGeoJson" } }, "application/json": { "schema": { "$ref": "#/components/schemas/FeatureGeoJson" } }, "text/json": { "schema": { "$ref": "#/components/schemas/FeatureGeoJson" } } } }, "404": { "description": "The requested URI was not found." }, "500": { "description": "A server error occurred." }, "403": { "description": "Forbidden", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } } } }, "401": { "description": "Unauthorized", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } } } }, "400": { "description": "Bad Request", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } } } }, "501": { "description": "Server Error", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } } } } } } }, "/collections/{collectionId}/items": { "get": { "tags": [ "Item" ], "summary": "Get Features From collection", "description": "Fetch features of the feature collection with sampleID and `collectionId`.", "parameters": [ { "name": "collectionId", "in": "path", "description": "local identifier of a collection", "required": true, "schema": { "type": "string" } }, { "name": "SkipCount", "in": "query", "description": "Offset count", "schema": { "type": "integer", "format": "int32" } }, { "name": "MaxResultCount", "in": "query", "description": "limits the count of items returned", "schema": { "type": "integer", "format": "int32" } }, { "name": "ValidityStartTime", "in": "query", "description": "The optional ValidityStartTime eg - 2019-06-30T00:00:00Z (yyyy-MM-ddTHH:mm:ssZ)", "schema": { "type": "string", "format": "date-time" } }, { "name": "ValidityEndTime", "in": "query", "description": "The optional ValidityEndTime eg - 2019-12-31T00:00:00Z (yyyy-MM-ddTHH:mm:ssZ)", "schema": { "type": "string", "format": "date-time" } }, { "name": "EwocCodes", "in": "query", "description": "The optional CropTypes to be selected", "schema": { "type": "array", "items": { "type": "integer", "format": "int64" } } }, { "name": "IrrigationTypes", "in": "query", "description": "The optional IrrigationTypes to be selected", "schema": { "type": "array", "items": { "type": "integer", "format": "int32" } } }, { "name": "ExtractTypes", "in": "query", "description": "The optional ExtractValue to be selected", "schema": { "type": "array", "items": { "type": "integer", "format": "int32" } } }, { "name": "H3Indexes", "in": "query", "description": "The optional H3Indexes to be selected", "schema": { "type": "array", "items": { "type": "string" } } }, { "name": "Bbox", "in": "query", "description": "Only features that have a geometry that intersects the bounding box are selected. The bounding box is provided as four decimals: * Lower left corner, coordinate axis 1 * Lower left corner, coordinate axis 2 * Upper right corner, coordinate axis 1 * Upper right corner, coordinate axis 2 The coordinate reference system of the values is always WGS 84 longitude/latitude (http://www.opengis.net/def/crs/OGC/1.3/CRS84). The values are sequence of minimum longitude, minimum latitude, maximum longitude and maximum latitude.", "schema": { "type": "array", "items": { "type": "number", "format": "double" } } }, { "name": "LandCoverConfidence.Start", "in": "query", "description": "decimal Start value, Default=0", "schema": { "type": "integer", "format": "int32" } }, { "name": "LandCoverConfidence.End", "in": "query", "description": "decimal End value, Default=100", "schema": { "type": "integer", "format": "int32" } }, { "name": "CropTypeConfidence.Start", "in": "query", "description": "decimal Start value, Default=0", "schema": { "type": "integer", "format": "int32" } }, { "name": "CropTypeConfidence.End", "in": "query", "description": "decimal End value, Default=100", "schema": { "type": "integer", "format": "int32" } } ], "responses": { "200": { "description": "Success", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/FeatureCollectionGeoJSON" } }, "application/json": { "schema": { "$ref": "#/components/schemas/FeatureCollectionGeoJSON" } }, "text/json": { "schema": { "$ref": "#/components/schemas/FeatureCollectionGeoJSON" } } } }, "400": { "description": "Bad Request" }, "404": { "description": "Not Found" }, "500": { "description": "Server Error" }, "403": { "description": "Forbidden", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } } } }, "401": { "description": "Unauthorized", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } } } }, "501": { "description": "Server Error", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } } } } } } }, "/collection/{collectionId}/items/download": { "get": { "tags": [ "Item" ], "parameters": [ { "name": "collectionId", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "SkipCount", "in": "query", "schema": { "maximum": 2147483647, "minimum": 0, "type": "integer", "format": "int32" } }, { "name": "MaxResultCount", "in": "query", "schema": { "maximum": 2147483647, "minimum": 1, "type": "integer", "format": "int32" } } ], "responses": { "403": { "description": "Forbidden", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } } } }, "401": { "description": "Unauthorized", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } } } }, "400": { "description": "Bad Request", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } } } }, "404": { "description": "Not Found", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } } } }, "501": { "description": "Server Error", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } } } }, "500": { "description": "Server Error", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } } } } } } }, "/collections/{collectionId}/items/codestats": { "get": { "tags": [ "Item" ], "parameters": [ { "name": "collectionId", "in": "path", "required": true, "schema": { "type": "string" } } ], "responses": { "200": { "description": "Success", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/CodeStats" } }, "application/json": { "schema": { "$ref": "#/components/schemas/CodeStats" } }, "text/json": { "schema": { "$ref": "#/components/schemas/CodeStats" } } } }, "403": { "description": "Forbidden", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } } } }, "401": { "description": "Unauthorized", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } } } }, "400": { "description": "Bad Request", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } } } }, "404": { "description": "Not Found", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } } } }, "501": { "description": "Server Error", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } } } }, "500": { "description": "Server Error", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } } } } } } }, "/reference/db/collections": { "get": { "tags": [ "MasterCollectionStore" ], "responses": { "200": { "description": "Success", "content": { "text/plain": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/MasterCollectionStoreInfoDto" } } }, "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/MasterCollectionStoreInfoDto" } } }, "text/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/MasterCollectionStoreInfoDto" } } } } }, "403": { "description": "Forbidden", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } } } }, "401": { "description": "Unauthorized", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } } } }, "400": { "description": "Bad Request", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } } } }, "404": { "description": "Not Found", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } } } }, "501": { "description": "Server Error", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } } } }, "500": { "description": "Server Error", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } } } } } }, "post": { "tags": [ "MasterCollectionStore" ], "summary": "Create Consortium collection", "description": "This creates a collection without any validation and prepares for feature injection.", "requestBody": { "description": "", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AddMasterCollectionStoreInfoDto" } }, "text/json": { "schema": { "$ref": "#/components/schemas/AddMasterCollectionStoreInfoDto" } }, "application/*+json": { "schema": { "$ref": "#/components/schemas/AddMasterCollectionStoreInfoDto" } } } }, "responses": { "200": { "description": "Success", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/MasterCollectionStoreInfoDto" } }, "application/json": { "schema": { "$ref": "#/components/schemas/MasterCollectionStoreInfoDto" } }, "text/json": { "schema": { "$ref": "#/components/schemas/MasterCollectionStoreInfoDto" } } } }, "403": { "description": "Forbidden", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } } } }, "401": { "description": "Unauthorized", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } } } }, "400": { "description": "Bad Request", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } } } }, "404": { "description": "Not Found", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } } } }, "501": { "description": "Server Error", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } } } }, "500": { "description": "Server Error", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } } } } } } }, "/store": { "get": { "tags": [ "Store" ], "responses": { "200": { "description": "Success", "content": { "text/plain": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/StoreDto" } } }, "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/StoreDto" } } }, "text/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/StoreDto" } } } } }, "403": { "description": "Forbidden", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } } } }, "401": { "description": "Unauthorized", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } } } }, "400": { "description": "Bad Request", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } } } }, "404": { "description": "Not Found", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } } } }, "501": { "description": "Server Error", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } } } }, "500": { "description": "Server Error", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } } } } } }, "post": { "tags": [ "Store" ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AddStoreDto" } }, "text/json": { "schema": { "$ref": "#/components/schemas/AddStoreDto" } }, "application/*+json": { "schema": { "$ref": "#/components/schemas/AddStoreDto" } } } }, "responses": { "200": { "description": "Success", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/StoreDto" } }, "application/json": { "schema": { "$ref": "#/components/schemas/StoreDto" } }, "text/json": { "schema": { "$ref": "#/components/schemas/StoreDto" } } } }, "403": { "description": "Forbidden", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } } } }, "401": { "description": "Unauthorized", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } } } }, "400": { "description": "Bad Request", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } } } }, "404": { "description": "Not Found", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } } } }, "501": { "description": "Server Error", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } } } }, "500": { "description": "Server Error", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } } } } } } }, "/user/isadmin": { "get": { "tags": [ "Store" ], "responses": { "200": { "description": "Success", "content": { "text/plain": { "schema": { "type": "boolean" } }, "application/json": { "schema": { "type": "boolean" } }, "text/json": { "schema": { "type": "boolean" } } } }, "403": { "description": "Forbidden", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } } } }, "401": { "description": "Unauthorized", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } } } }, "400": { "description": "Bad Request", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } } } }, "404": { "description": "Not Found", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } } } }, "501": { "description": "Server Error", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } } } }, "500": { "description": "Server Error", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } } } } } } }, "/user/ismoderator": { "get": { "tags": [ "Store" ], "responses": { "200": { "description": "Success", "content": { "text/plain": { "schema": { "type": "boolean" } }, "application/json": { "schema": { "type": "boolean" } }, "text/json": { "schema": { "type": "boolean" } } } }, "403": { "description": "Forbidden", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } } } }, "401": { "description": "Unauthorized", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } } } }, "400": { "description": "Bad Request", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } } } }, "404": { "description": "Not Found", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } } } }, "501": { "description": "Server Error", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } } } }, "500": { "description": "Server Error", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } } } } } } }, "/user/role": { "get": { "tags": [ "Store" ], "responses": { "200": { "description": "Success", "content": { "text/plain": { "schema": { "type": "string" } }, "application/json": { "schema": { "type": "string" } }, "text/json": { "schema": { "type": "string" } } } }, "403": { "description": "Forbidden", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } } } }, "401": { "description": "Unauthorized", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } } } }, "400": { "description": "Bad Request", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } } } }, "404": { "description": "Not Found", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } } } }, "501": { "description": "Server Error", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } } } }, "500": { "description": "Server Error", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } } } } } } }, "/user/id": { "get": { "tags": [ "Store" ], "responses": { "200": { "description": "Success", "content": { "text/plain": { "schema": { "type": "string" } }, "application/json": { "schema": { "type": "string" } }, "text/json": { "schema": { "type": "string" } } } }, "403": { "description": "Forbidden", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } } } }, "401": { "description": "Unauthorized", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } } } }, "400": { "description": "Bad Request", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } } } }, "404": { "description": "Not Found", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } } } }, "501": { "description": "Server Error", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } } } }, "500": { "description": "Server Error", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } } } } } } }, "/store/ref/collection": { "get": { "tags": [ "Store" ], "responses": { "200": { "description": "Success", "content": { "text/plain": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/ConsortiumCollectionDto" } } }, "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/ConsortiumCollectionDto" } } }, "text/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/ConsortiumCollectionDto" } } } } }, "403": { "description": "Forbidden", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } } } }, "401": { "description": "Unauthorized", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } } } }, "400": { "description": "Bad Request", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } } } }, "404": { "description": "Not Found", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } } } }, "501": { "description": "Server Error", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } } } }, "500": { "description": "Server Error", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } } } } } }, "post": { "tags": [ "Store" ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AddUrlsForConsortiumUpload" } }, "text/json": { "schema": { "$ref": "#/components/schemas/AddUrlsForConsortiumUpload" } }, "application/*+json": { "schema": { "$ref": "#/components/schemas/AddUrlsForConsortiumUpload" } } } }, "responses": { "403": { "description": "Forbidden", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } } } }, "401": { "description": "Unauthorized", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } } } }, "400": { "description": "Bad Request", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } } } }, "404": { "description": "Not Found", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } } } }, "501": { "description": "Server Error", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } } } }, "500": { "description": "Server Error", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } } } } } } }, "/store/ref/collection/{id}": { "put": { "tags": [ "Store" ], "parameters": [ { "name": "id", "in": "path", "required": true, "schema": { "type": "integer", "format": "int32" } }, { "name": "update", "in": "query", "schema": { "type": "boolean" } }, { "name": "overwriteFeatures", "in": "query", "schema": { "type": "boolean" } }, { "name": "overwriteOtherProps", "in": "query", "schema": { "type": "boolean" } } ], "responses": { "200": { "description": "Success" }, "403": { "description": "Forbidden", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } } } }, "401": { "description": "Unauthorized", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } } } }, "400": { "description": "Bad Request", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } } } }, "404": { "description": "Not Found", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } } } }, "501": { "description": "Server Error", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } } } }, "500": { "description": "Server Error", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } } } } } }, "delete": { "tags": [ "Store" ], "parameters": [ { "name": "id", "in": "path", "required": true, "schema": { "type": "integer", "format": "int32" } } ], "responses": { "200": { "description": "Success" }, "403": { "description": "Forbidden", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } } } }, "401": { "description": "Unauthorized", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } } } }, "400": { "description": "Bad Request", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } } } }, "404": { "description": "Not Found", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } } } }, "501": { "description": "Server Error", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } } } }, "500": { "description": "Server Error", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } } } } } } }, "/store/ref/collection/{collectionId}/database": { "delete": { "tags": [ "Store" ], "parameters": [ { "name": "collectionId", "in": "path", "required": true, "schema": { "type": "string" } } ], "responses": { "403": { "description": "Forbidden", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } } } }, "401": { "description": "Unauthorized", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } } } }, "400": { "description": "Bad Request", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } } } }, "404": { "description": "Not Found", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } } } }, "501": { "description": "Server Error", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } } } }, "500": { "description": "Server Error", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } } } } } } }, "/userdataset/reproject/4326": { "get": { "tags": [ "UserDataset" ], "parameters": [ { "name": "path", "in": "query", "schema": { "type": "string" } } ], "responses": { "403": { "description": "Forbidden", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } } } }, "401": { "description": "Unauthorized", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } } } }, "400": { "description": "Bad Request", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } } } }, "404": { "description": "Not Found", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } } } }, "501": { "description": "Server Error", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } } } }, "500": { "description": "Server Error", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } } } } } } }, "/predict/crop/map": { "get": { "tags": [ "UserDataset" ], "parameters": [ { "name": "crops", "in": "query", "schema": { "type": "array", "items": { "type": "string" } } } ], "responses": { "403": { "description": "Forbidden", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } } } }, "401": { "description": "Unauthorized", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } } } }, "400": { "description": "Bad Request", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } } } }, "404": { "description": "Not Found", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } } } }, "501": { "description": "Server Error", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } } } }, "500": { "description": "Server Error", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } } } } } } }, "/predict/irrigation/map": { "get": { "tags": [ "UserDataset" ], "parameters": [ { "name": "irrs", "in": "query", "schema": { "type": "array", "items": { "type": "string" } } } ], "responses": { "403": { "description": "Forbidden", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } } } }, "401": { "description": "Unauthorized", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } } } }, "400": { "description": "Bad Request", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } } } }, "404": { "description": "Not Found", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } } } }, "501": { "description": "Server Error", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } } } }, "500": { "description": "Server Error", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } } } } } } }, "/userdatasets": { "get": { "tags": [ "UserDataset" ], "parameters": [ { "name": "SkipCount", "in": "query", "schema": { "maximum": 2147483647, "minimum": 0, "type": "integer", "format": "int32" } }, { "name": "MaxResultCount", "in": "query", "schema": { "maximum": 2147483647, "minimum": 1, "type": "integer", "format": "int32" } } ], "responses": { "200": { "description": "Success", "content": { "text/plain": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/UserDatasetViewModel" } } }, "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/UserDatasetViewModel" } } }, "text/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/UserDatasetViewModel" } } } } }, "403": { "description": "Forbidden", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } } } }, "401": { "description": "Unauthorized", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } } } }, "400": { "description": "Bad Request", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } } } }, "404": { "description": "Not Found", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } } } }, "501": { "description": "Server Error", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } } } }, "500": { "description": "Server Error", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } } } } } }, "post": { "tags": [ "UserDataset" ], "parameters": [ { "name": "Title", "in": "query", "required": true, "schema": { "type": "string" } }, { "name": "CollectionId", "in": "query", "required": true, "schema": { "type": "string" } } ], "requestBody": { "content": { "multipart/form-data": { "schema": { "required": [ "uploadedFile" ], "type": "object", "properties": { "uploadedFile": { "type": "string", "format": "binary" } } }, "encoding": { "uploadedFile": { "style": "form" } } } } }, "responses": { "403": { "description": "Forbidden", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } } } }, "401": { "description": "Unauthorized", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } } } }, "400": { "description": "Bad Request", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } } } }, "404": { "description": "Not Found", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } } } }, "501": { "description": "Server Error", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } } } }, "500": { "description": "Server Error", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } } } } } } }, "/userdatasets/{id}/metadata": { "get": { "tags": [ "UserDataset" ], "parameters": [ { "name": "id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } } ], "responses": { "200": { "description": "Success", "content": { "text/plain": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/MetadataItemDto" } } }, "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/MetadataItemDto" } } }, "text/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/MetadataItemDto" } } } } }, "403": { "description": "Forbidden", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } } } }, "401": { "description": "Unauthorized", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } } } }, "400": { "description": "Bad Request", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } } } }, "404": { "description": "Not Found", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } } } }, "501": { "description": "Server Error", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } } } }, "500": { "description": "Server Error", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } } } } } } }, "/userdatasets/{id}/harmonization/pdf": { "get": { "tags": [ "UserDataset" ], "parameters": [ { "name": "id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } } ], "responses": { "200": { "description": "Success", "content": { "text/plain": { "schema": { "type": "string" } }, "application/json": { "schema": { "type": "string" } }, "text/json": { "schema": { "type": "string" } } } }, "403": { "description": "Forbidden", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } } } }, "401": { "description": "Unauthorized", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } } } }, "400": { "description": "Bad Request", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } } } }, "404": { "description": "Not Found", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } } } }, "501": { "description": "Server Error", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } } } }, "500": { "description": "Server Error", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } } } } } }, "post": { "tags": [ "UserDataset" ], "parameters": [ { "name": "id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } } ], "requestBody": { "content": { "multipart/form-data": { "schema": { "required": [ "pdfFile" ], "type": "object", "properties": { "pdfFile": { "type": "string", "format": "binary" } } }, "encoding": { "pdfFile": { "style": "form" } } } } }, "responses": { "403": { "description": "Forbidden", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } } } }, "401": { "description": "Unauthorized", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } } } }, "400": { "description": "Bad Request", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } } } }, "404": { "description": "Not Found", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } } } }, "501": { "description": "Server Error", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } } } }, "500": { "description": "Server Error", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } } } } } } }, "/userdatasets/{id}/harmonization/excel": { "post": { "tags": [ "UserDataset" ], "parameters": [ { "name": "id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } } ], "requestBody": { "content": { "multipart/form-data": { "schema": { "required": [ "newExcelFile" ], "type": "object", "properties": { "newExcelFile": { "type": "string", "format": "binary" } } }, "encoding": { "newExcelFile": { "style": "form" } } } } }, "responses": { "403": { "description": "Forbidden", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } } } }, "401": { "description": "Unauthorized", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } } } }, "400": { "description": "Bad Request", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } } } }, "404": { "description": "Not Found", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } } } }, "501": { "description": "Server Error", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } } } }, "500": { "description": "Server Error", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } } } } } }, "get": { "tags": [ "UserDataset" ], "parameters": [ { "name": "id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } }, { "name": "regenerate", "in": "query", "schema": { "type": "boolean", "default": false } } ], "responses": { "200": { "description": "Success", "content": { "text/plain": { "schema": { "type": "array", "items": { "type": "string" } } }, "application/json": { "schema": { "type": "array", "items": { "type": "string" } } }, "text/json": { "schema": { "type": "array", "items": { "type": "string" } } } } }, "403": { "description": "Forbidden", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } } } }, "401": { "description": "Unauthorized", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } } } }, "400": { "description": "Bad Request", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } } } }, "404": { "description": "Not Found", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } } } }, "501": { "description": "Server Error", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } } } }, "500": { "description": "Server Error", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } } } } } } }, "/userdatasets/{id}": { "get": { "tags": [ "UserDataset" ], "parameters": [ { "name": "id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } } ], "responses": { "200": { "description": "Success", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/UserDatasetViewModel" } }, "application/json": { "schema": { "$ref": "#/components/schemas/UserDatasetViewModel" } }, "text/json": { "schema": { "$ref": "#/components/schemas/UserDatasetViewModel" } } } }, "403": { "description": "Forbidden", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } } } }, "401": { "description": "Unauthorized", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } } } }, "400": { "description": "Bad Request", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } } } }, "404": { "description": "Not Found", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } } } }, "501": { "description": "Server Error", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } } } }, "500": { "description": "Server Error", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } } } } } }, "delete": { "tags": [ "UserDataset" ], "parameters": [ { "name": "id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } } ], "responses": { "403": { "description": "Forbidden", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } } } }, "401": { "description": "Unauthorized", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } } } }, "400": { "description": "Bad Request", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } } } }, "404": { "description": "Not Found", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } } } }, "501": { "description": "Server Error", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } } } }, "500": { "description": "Server Error", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } } } } } } }, "/userdatasets/{id}/title": { "put": { "tags": [ "UserDataset" ], "parameters": [ { "name": "id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } }, { "name": "title", "in": "query", "schema": { "type": "string" } } ], "responses": { "200": { "description": "Success", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/UserDatasetViewModel" } }, "application/json": { "schema": { "$ref": "#/components/schemas/UserDatasetViewModel" } }, "text/json": { "schema": { "$ref": "#/components/schemas/UserDatasetViewModel" } } } }, "403": { "description": "Forbidden", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } } } }, "401": { "description": "Unauthorized", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } } } }, "400": { "description": "Bad Request", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } } } }, "404": { "description": "Not Found", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } } } }, "501": { "description": "Server Error", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } } } }, "500": { "description": "Server Error", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } } } } } } }, "/userdatasets/{id}/mappedFile": { "post": { "tags": [ "UserDataset" ], "parameters": [ { "name": "id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } } ], "requestBody": { "content": { "multipart/form-data": { "schema": { "type": "object", "properties": { "files": { "type": "array", "items": { "type": "string", "format": "binary" } } } }, "encoding": { "files": { "style": "form" } } } } }, "responses": { "403": { "description": "Forbidden", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } } } }, "401": { "description": "Unauthorized", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } } } }, "400": { "description": "Bad Request", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } } } }, "404": { "description": "Not Found", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } } } }, "501": { "description": "Server Error", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } } } }, "500": { "description": "Server Error", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } } } } } } }, "/userdatasets/{id}/mappings": { "post": { "tags": [ "UserDataset" ], "parameters": [ { "name": "id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AttributeMapInfo" } }, "text/json": { "schema": { "$ref": "#/components/schemas/AttributeMapInfo" } }, "application/*+json": { "schema": { "$ref": "#/components/schemas/AttributeMapInfo" } } } }, "responses": { "403": { "description": "Forbidden", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } } } }, "401": { "description": "Unauthorized", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } } } }, "400": { "description": "Bad Request", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } } } }, "404": { "description": "Not Found", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } } } }, "501": { "description": "Server Error", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } } } }, "500": { "description": "Server Error", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } } } } } } }, "/userdatasets/{userDatasetId}/attribute/{attributeName}": { "get": { "tags": [ "UserDataset" ], "parameters": [ { "name": "userDatasetId", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } }, { "name": "attributeName", "in": "path", "required": true, "schema": { "type": "string" } } ], "responses": { "200": { "description": "Success", "content": { "text/plain": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/CodeMap" } } }, "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/CodeMap" } } }, "text/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/CodeMap" } } } } }, "403": { "description": "Forbidden", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } } } }, "401": { "description": "Unauthorized", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } } } }, "400": { "description": "Bad Request", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } } } }, "404": { "description": "Not Found", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } } } }, "501": { "description": "Server Error", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } } } }, "500": { "description": "Server Error", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } } } } } } }, "/userdatasets/{id}/valTimeYears": { "get": { "tags": [ "UserDataset" ], "parameters": [ { "name": "id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } } ], "responses": { "200": { "description": "Success", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/DateInfo" } }, "application/json": { "schema": { "$ref": "#/components/schemas/DateInfo" } }, "text/json": { "schema": { "$ref": "#/components/schemas/DateInfo" } } } }, "403": { "description": "Forbidden", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } } } }, "401": { "description": "Unauthorized", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } } } }, "400": { "description": "Bad Request", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } } } }, "404": { "description": "Not Found", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } } } }, "501": { "description": "Server Error", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } } } }, "500": { "description": "Server Error", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } } } } } } }, "/userdatasets/{id}/colName/{colName}": { "get": { "tags": [ "UserDataset" ], "parameters": [ { "name": "id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } }, { "name": "colName", "in": "path", "required": true, "schema": { "type": "string" } } ], "responses": { "403": { "description": "Forbidden", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } } } }, "401": { "description": "Unauthorized", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } } } }, "400": { "description": "Bad Request", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } } } }, "404": { "description": "Not Found", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } } } }, "501": { "description": "Server Error", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } } } }, "500": { "description": "Server Error", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } } } } } } }, "/userdatasets/{id}/columnsToMap": { "post": { "tags": [ "UserDataset" ], "parameters": [ { "name": "id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } }, { "name": "EwocColumnName", "in": "query", "required": true, "schema": { "type": "string" } }, { "name": "ValTimeColumnName", "in": "query", "required": true, "schema": { "type": "string" } }, { "name": "IsManualValidityDate", "in": "query", "required": true, "schema": { "type": "boolean" } }, { "name": "DateFormat", "in": "query", "schema": { "type": "string" } }, { "name": "IrrColumnName", "in": "query", "schema": { "type": "string" } } ], "responses": { "403": { "description": "Forbidden", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } } } }, "401": { "description": "Unauthorized", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } } } }, "400": { "description": "Bad Request", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } } } }, "404": { "description": "Not Found", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } } } }, "501": { "description": "Server Error", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } } } }, "500": { "description": "Server Error", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } } } } } } }, "/userdatasets/simple": { "post": { "tags": [ "UserDataset" ], "parameters": [ { "name": "Title", "in": "query", "required": true, "schema": { "type": "string" } }, { "name": "CollectionId", "in": "query", "required": true, "schema": { "type": "string" } } ], "requestBody": { "content": { "multipart/form-data": { "schema": { "required": [ "uploadedFile" ], "type": "object", "properties": { "uploadedFile": { "type": "string", "format": "binary" } } }, "encoding": { "uploadedFile": { "style": "form" } } } } }, "responses": { "200": { "description": "Success", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/UserDatasetViewModel" } }, "application/json": { "schema": { "$ref": "#/components/schemas/UserDatasetViewModel" } }, "text/json": { "schema": { "$ref": "#/components/schemas/UserDatasetViewModel" } } } }, "403": { "description": "Forbidden", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } } } }, "401": { "description": "Unauthorized", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } } } }, "400": { "description": "Bad Request", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } } } }, "404": { "description": "Not Found", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } } } }, "501": { "description": "Server Error", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } } } }, "500": { "description": "Server Error", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } } } } } } }, "/userdatasets/{id}/sample/start/job": { "put": { "tags": [ "UserDataset" ], "parameters": [ { "name": "id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } } ], "responses": { "200": { "description": "Success" }, "403": { "description": "Forbidden", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } } } }, "401": { "description": "Unauthorized", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } } } }, "400": { "description": "Bad Request", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } } } }, "404": { "description": "Not Found", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } } } }, "501": { "description": "Server Error", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } } } }, "500": { "description": "Server Error", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } } } } } } }, "/userdatasets/{id}/backupfiles": { "get": { "tags": [ "UserDataset" ], "parameters": [ { "name": "id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } } ], "responses": { "200": { "description": "Success", "content": { "text/plain": { "schema": { "type": "array", "items": { "type": "string" } } }, "application/json": { "schema": { "type": "array", "items": { "type": "string" } } }, "text/json": { "schema": { "type": "array", "items": { "type": "string" } } } } }, "403": { "description": "Forbidden", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } } } }, "401": { "description": "Unauthorized", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } } } }, "400": { "description": "Bad Request", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } } } }, "404": { "description": "Not Found", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } } } }, "501": { "description": "Server Error", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } } } }, "500": { "description": "Server Error", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } } } } } }, "put": { "tags": [ "UserDataset" ], "parameters": [ { "name": "id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } } ], "responses": { "200": { "description": "Success", "content": { "text/plain": { "schema": { "type": "array", "items": { "type": "string" } } }, "application/json": { "schema": { "type": "array", "items": { "type": "string" } } }, "text/json": { "schema": { "type": "array", "items": { "type": "string" } } } } }, "403": { "description": "Forbidden", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } } } }, "401": { "description": "Unauthorized", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } } } }, "400": { "description": "Bad Request", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } } } }, "404": { "description": "Not Found", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } } } }, "501": { "description": "Server Error", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } } } }, "500": { "description": "Server Error", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } } } } } } }, "/userdatasets/{id}/private-share": { "put": { "tags": [ "UserDataset" ], "parameters": [ { "name": "id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } } ], "responses": { "403": { "description": "Forbidden", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } } } }, "401": { "description": "Unauthorized", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } } } }, "400": { "description": "Bad Request", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } } } }, "404": { "description": "Not Found", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } } } }, "501": { "description": "Server Error", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } } } }, "500": { "description": "Server Error", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } } } } } } }, "/userdatasets/{id}/public": { "put": { "tags": [ "UserDataset" ], "parameters": [ { "name": "id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } } ], "responses": { "403": { "description": "Forbidden", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } } } }, "401": { "description": "Unauthorized", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } } } }, "400": { "description": "Bad Request", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } } } }, "404": { "description": "Not Found", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } } } }, "501": { "description": "Server Error", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } } } }, "500": { "description": "Server Error", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } } } } } } }, "/userdatasets/{id}/verified": { "put": { "tags": [ "UserDataset" ], "parameters": [ { "name": "id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } } ], "responses": { "403": { "description": "Forbidden", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } } } }, "401": { "description": "Unauthorized", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } } } }, "400": { "description": "Bad Request", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } } } }, "404": { "description": "Not Found", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } } } }, "501": { "description": "Server Error", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } } } }, "500": { "description": "Server Error", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/RemoteServiceErrorResponse" } } } } } } } }, "components": { "schemas": { "AccessType": { "enum": [ "Public", "Private", "PrivateShared", "PrivateSharedVerified" ], "type": "string" }, "AddMasterCollectionStoreInfoDto": { "required": [ "boundingBoxPoints", "collectionId", "firstDateOfValidityTime", "lastDateOfValidityTime" ], "type": "object", "properties": { "collectionId": { "minLength": 1, "type": "string" }, "storeType": { "$ref": "#/components/schemas/StoreType" }, "type": { "$ref": "#/components/schemas/CollectionType" }, "accessType": { "$ref": "#/components/schemas/AccessType" }, "title": { "type": "string", "nullable": true }, "typeOfObservationMethod": { "$ref": "#/components/schemas/TypeOfObservationMethod" }, "description": { "type": "string", "nullable": true }, "featureCount": { "type": "integer", "format": "int64" }, "confidenceLandCover": { "type": "number", "format": "double" }, "confidenceCropType": { "type": "number", "format": "double" }, "confidenceIrrigationType": { "type": "number", "format": "double" }, "landCovers": { "type": "array", "items": { "type": "integer", "format": "int32" }, "nullable": true }, "cropTypes": { "type": "array", "items": { "type": "integer", "format": "int32" }, "nullable": true }, "irrTypes": { "type": "array", "items": { "type": "integer", "format": "int32" }, "nullable": true }, "boundingBoxPoints": { "type": "array", "items": { "$ref": "#/components/schemas/CoordinateDto" } }, "firstDateOfValidityTime": { "type": "string", "description": "FirstDateOfValidityTime eg - 2019-06-30T00:00:00Z (yyyy-MM-ddTHH:mm:ssZ)", "format": "date-time" }, "lastDateOfValidityTime": { "type": "string", "description": "LastDateOfValidityTime eg - 2019-06-30T00:00:00Z (yyyy-MM-ddTHH:mm:ssZ)", "format": "date-time" }, "additionalData": { "type": "string", "nullable": true } }, "additionalProperties": false }, "AddStoreDto": { "type": "object", "properties": { "connectionString": { "type": "string", "nullable": true }, "storeType": { "$ref": "#/components/schemas/StoreType" }, "name": { "type": "string", "nullable": true } }, "additionalProperties": false }, "AddUrlsForConsortiumUpload": { "type": "object", "properties": { "urls": { "type": "array", "items": { "type": "string" }, "nullable": true }, "needsUpdate": { "type": "boolean" } }, "additionalProperties": false }, "AttributeMapInfo": { "type": "object", "properties": { "maps": { "type": "array", "items": { "$ref": "#/components/schemas/CodeMapWithAttribute" }, "nullable": true }, "selectedYear": { "type": "integer", "format": "int32" } }, "additionalProperties": false }, "CodeMap": { "type": "object", "properties": { "label": { "type": "string", "nullable": true }, "code": { "type": "integer", "format": "int64", "nullable": true } }, "additionalProperties": false }, "CodeMapWithAttribute": { "type": "object", "properties": { "attributeName": { "type": "string", "nullable": true }, "label": { "type": "string", "nullable": true }, "code": { "type": "integer", "format": "int64", "nullable": true } }, "additionalProperties": false }, "CodeStats": { "type": "object", "properties": { "lcStats": { "type": "array", "items": { "$ref": "#/components/schemas/StatsItem" }, "nullable": true }, "ewocStats": { "type": "array", "items": { "$ref": "#/components/schemas/StatsItem" }, "nullable": true }, "irrStats": { "type": "array", "items": { "$ref": "#/components/schemas/StatsItem" }, "nullable": true } }, "additionalProperties": false }, "CodeType": { "enum": [ "LandCoverType", "CropType", "IrrigationType" ], "type": "string" }, "CollectionMetadataDto": { "type": "object", "properties": { "id": { "type": "string", "format": "uuid" }, "creationTime": { "type": "string", "format": "date-time" }, "creatorId": { "type": "string", "format": "uuid", "nullable": true }, "lastModificationTime": { "type": "string", "format": "date-time", "nullable": true }, "lastModifierId": { "type": "string", "format": "uuid", "nullable": true }, "collectionId": { "type": "string", "nullable": true }, "title": { "type": "string", "nullable": true }, "featureCount": { "type": "integer", "format": "int64" }, "type": { "$ref": "#/components/schemas/CollectionType" }, "accessType": { "$ref": "#/components/schemas/AccessType" }, "typeOfObservationMethod": { "$ref": "#/components/schemas/TypeOfObservationMethod" }, "confidenceLandCover": { "type": "integer", "format": "int32" }, "confidenceCropType": { "type": "integer", "format": "int32" }, "confidenceIrrigationType": { "type": "integer", "format": "int32" }, "ewocCodes": { "type": "array", "items": { "type": "integer", "format": "int64" }, "nullable": true }, "irrTypes": { "type": "array", "items": { "type": "integer", "format": "int32" }, "nullable": true }, "extent": { "$ref": "#/components/schemas/ExtentDto" }, "additionalData": { "type": "string", "nullable": true }, "crs": { "type": "array", "items": { "type": "string" }, "nullable": true } }, "additionalProperties": false }, "CollectionMetadataDtoPagedResultDto": { "type": "object", "properties": { "items": { "type": "array", "items": { "$ref": "#/components/schemas/CollectionMetadataDto" }, "nullable": true }, "totalCount": { "type": "integer", "format": "int64" } }, "additionalProperties": false }, "CollectionStats": { "type": "object", "properties": { "totalCollections": { "type": "integer", "format": "int32" }, "featuresTotalCount": { "type": "integer", "format": "int64" } }, "additionalProperties": false }, "CollectionType": { "enum": [ "Point", "Polygon", "ClassifiedMap" ], "type": "string" }, "ConsortiumCollectionDto": { "type": "object", "properties": { "id": { "type": "integer", "format": "int32" }, "creationTime": { "type": "string", "format": "date-time" }, "creatorId": { "type": "string", "format": "uuid", "nullable": true }, "lastModificationTime": { "type": "string", "format": "date-time", "nullable": true }, "lastModifierId": { "type": "string", "format": "uuid", "nullable": true }, "downloadZipUrl": { "type": "string", "nullable": true }, "successful": { "type": "boolean" }, "errors": { "type": "string", "nullable": true }, "needsUpdate": { "type": "boolean" }, "overwriteFeatures": { "type": "boolean" }, "overwriteOtherProps": { "type": "boolean" } }, "additionalProperties": false }, "CoordinateDto": { "type": "object", "properties": { "latitude": { "type": "number", "format": "double" }, "longitude": { "type": "number", "format": "double" } }, "additionalProperties": false }, "DatasetEventViewModel": { "type": "object", "properties": { "id": { "type": "integer", "format": "int32" }, "creationTime": { "type": "string", "format": "date-time" }, "creatorId": { "type": "string", "format": "uuid", "nullable": true }, "type": { "$ref": "#/components/schemas/EventType" }, "comments": { "type": "array", "items": { "type": "string" }, "nullable": true }, "canSubmit": { "type": "boolean" } }, "additionalProperties": false }, "DateInfo": { "type": "object", "properties": { "dateFormat": { "type": "string", "nullable": true }, "isManualDate": { "type": "boolean" }, "isValAttributeDateTimeType": { "type": "boolean" }, "valAttributeYears": { "type": "array", "items": { "type": "string" }, "nullable": true }, "selectedYear": { "type": "integer", "format": "int32" } }, "additionalProperties": false }, "DownloadCounts": { "type": "object", "properties": { "collectionId": { "type": "string", "nullable": true }, "dataset": { "type": "integer", "format": "int32" }, "sample": { "type": "integer", "format": "int32" }, "metadata": { "type": "integer", "format": "int32" } }, "additionalProperties": false }, "EoTypeDto": { "type": "object", "properties": { "id": { "type": "integer", "format": "int32" }, "name": { "type": "string", "nullable": true }, "value": { "type": "integer", "format": "int64" }, "codeType": { "$ref": "#/components/schemas/CodeType" } }, "additionalProperties": false }, "EventType": { "enum": [ "SubmittedForReview", "ReviewInProgress", "NeedsFix", "VerifiedAndAccepted", "Public" ], "type": "string" }, "ExtentDto": { "type": "object", "properties": { "spatial": { "$ref": "#/components/schemas/Spatial" }, "temporal": { "$ref": "#/components/schemas/Temporal" } }, "additionalProperties": false }, "FeatureCollectionGeoJSON": { "type": "object", "properties": { "type": { "type": "string", "description": "Gets or Sets Type", "nullable": true }, "features": { "type": "array", "items": { "$ref": "#/components/schemas/FeatureGeoJson" }, "description": "Gets or Sets Features", "nullable": true } }, "additionalProperties": false, "description": "" }, "FeatureGeoJson": { "type": "object", "properties": { "type": { "type": "string", "description": "Gets or Sets Type", "nullable": true }, "geometry": { "$ref": "#/components/schemas/Geometry" }, "properties": { "description": "Gets or Sets Properties", "nullable": true }, "id": { "type": "string", "description": "Gets or Sets Sample ID,", "nullable": true } }, "additionalProperties": false, "description": "" }, "Geometry": { "type": "object", "properties": { "type": { "type": "string", "description": "Gets or Sets coordinates", "nullable": true }, "coordinates": { "type": "array", "items": { "$ref": "#/components/schemas/JToken" }, "description": "Gets or Sets coordinates", "nullable": true } }, "additionalProperties": false, "description": "" }, "JToken": { "type": "array", "items": { "$ref": "#/components/schemas/JToken" } }, "MasterCollectionStoreInfoDto": { "type": "object", "properties": { "id": { "type": "string", "format": "uuid" }, "creationTime": { "type": "string", "format": "date-time" }, "creatorId": { "type": "string", "format": "uuid", "nullable": true }, "lastModificationTime": { "type": "string", "format": "date-time", "nullable": true }, "lastModifierId": { "type": "string", "format": "uuid", "nullable": true }, "collectionId": { "type": "string", "nullable": true }, "type": { "$ref": "#/components/schemas/CollectionType" }, "landCovers": { "type": "array", "items": { "type": "integer", "format": "int32" }, "nullable": true }, "cropTypes": { "type": "array", "items": { "type": "integer", "format": "int32" }, "nullable": true }, "irrTypes": { "type": "array", "items": { "type": "integer", "format": "int32" }, "nullable": true }, "boundingBoxPoints": { "type": "array", "items": { "$ref": "#/components/schemas/CoordinateDto" }, "nullable": true }, "firstDateOfValidityTime": { "type": "string", "description": "The optional FirstDateOfValidityTime eg - 2019-06-30T00:00:00Z (yyyy-MM-ddTHH:mm:ssZ)", "format": "date-time" }, "lastDateOfValidityTime": { "type": "string", "description": "The optional LastDateOfValidityTime eg - 2019-06-30T00:00:00Z (yyyy-MM-ddTHH:mm:ssZ)", "format": "date-time" }, "additionalData": { "type": "string", "nullable": true }, "storeType": { "$ref": "#/components/schemas/StoreType" }, "accessType": { "$ref": "#/components/schemas/AccessType" }, "title": { "type": "string", "nullable": true }, "featureCount": { "type": "integer", "format": "int64" } }, "additionalProperties": false }, "MetadataItemDto": { "type": "object", "properties": { "id": { "type": "integer", "format": "int32" }, "name": { "type": "string", "nullable": true }, "value": { "type": "string", "nullable": true }, "type": { "$ref": "#/components/schemas/MetadataItemType" } }, "additionalProperties": false }, "MetadataItemType": { "enum": [ "text", "link", "integer", "integerArray", "decimals", "email" ], "type": "string" }, "RemoteServiceErrorInfo": { "type": "object", "properties": { "code": { "type": "string", "nullable": true }, "message": { "type": "string", "nullable": true }, "details": { "type": "string", "nullable": true }, "data": { "type": "object", "additionalProperties": { }, "nullable": true }, "validationErrors": { "type": "array", "items": { "$ref": "#/components/schemas/RemoteServiceValidationErrorInfo" }, "nullable": true } }, "additionalProperties": false }, "RemoteServiceErrorResponse": { "type": "object", "properties": { "error": { "$ref": "#/components/schemas/RemoteServiceErrorInfo" } }, "additionalProperties": false }, "RemoteServiceValidationErrorInfo": { "type": "object", "properties": { "message": { "type": "string", "nullable": true }, "members": { "type": "array", "items": { "type": "string" }, "nullable": true } }, "additionalProperties": false }, "Spatial": { "type": "object", "properties": { "bbox": { "type": "array", "items": { "type": "array", "items": { "type": "number", "format": "double" } }, "nullable": true }, "crs": { "type": "string", "nullable": true } }, "additionalProperties": false }, "StatsItem": { "type": "object", "properties": { "code": { "type": "integer", "format": "int64" }, "count": { "type": "integer", "format": "int32" } }, "additionalProperties": false }, "StoreDto": { "type": "object", "properties": { "id": { "type": "string", "format": "uuid" }, "connectionString": { "type": "string", "nullable": true }, "storeType": { "$ref": "#/components/schemas/StoreType" }, "name": { "type": "string", "nullable": true }, "count": { "type": "integer", "format": "int32" } }, "additionalProperties": false }, "StoreType": { "enum": [ "Reference", "Community", "All" ], "type": "string" }, "Temporal": { "type": "object", "properties": { "interval": { "type": "array", "items": { "type": "array", "items": { "type": "string", "format": "date-time" } }, "nullable": true }, "trs": { "type": "string", "nullable": true } }, "additionalProperties": false }, "TypeOfObservationMethod": { "enum": [ "Unknown", "FieldObservationSurvey", "FieldObservationSurveyWindshield", "AutomatedClassification", "ClassificationValidatedCrowd", "ClassificationValidatedExpert", "FormalDeclaration" ], "type": "string" }, "UserDatasetState": { "enum": [ "UploadedColumnExtractionInProgressWait", "UploadedColumnExtracted", "UploadedColumnExtractFailed", "MappingInProgressWait", "ColumnMappingExtracted", "ColumnMappingExtractFailed", "UploadedHarmonisationInProgressWait", "UploadedValidationInProgressWait", "ValidationSuccessfulProvisionInProgressWait", "ValidationFailedUploadRequired", "StoreProvisioned", "StoreProvisionFailed", "AvailableInModule", "ItemsUpdateInprogress", "ItemsUpdateFailed", "PrivateSharedWithConsortium", "PrivateSharedWithConsortiumVerified", "PublicDataset" ], "type": "string" }, "UserDatasetViewModel": { "type": "object", "properties": { "id": { "type": "string", "format": "uuid" }, "creationTime": { "type": "string", "format": "date-time" }, "creatorId": { "type": "string", "format": "uuid", "nullable": true }, "lastModificationTime": { "type": "string", "format": "date-time", "nullable": true }, "lastModifierId": { "type": "string", "format": "uuid", "nullable": true }, "title": { "type": "string", "nullable": true }, "collectionId": { "type": "string", "nullable": true }, "columns": { "type": "array", "items": { "type": "string" }, "nullable": true }, "ewocCodeCol": { "type": "string", "nullable": true }, "valDateCol": { "type": "string", "nullable": true }, "irrCol": { "type": "string", "nullable": true }, "state": { "$ref": "#/components/schemas/UserDatasetState" }, "errors": { "type": "array", "items": { "type": "string" }, "nullable": true }, "userId": { "type": "string", "nullable": true }, "datasetExtractedPath": { "type": "string", "nullable": true } }, "additionalProperties": false } }, "securitySchemes": { "Bearer": { "type": "http", "description": "Put **_ONLY_** your JWT Bearer token below. 'Bearer' text will be appended automatically", "scheme": "Bearer", "bearerFormat": "JWT" } } }, "security": [ { "Bearer": [ ] } ] }