{ "components": { "schemas": { "ApiKey": { "properties": { "creation_date": { "examples": [ "2006-01-02T15:04:05Z07:00" ], "format": "date-time", "type": "string" }, "key": { "type": "string" }, "name": { "type": "string" }, "secret_hash": { "type": "string" } }, "required": [], "type": "object" }, "CollectionResponse": { "properties": { "defaults": {}, "indexes": { "type": "number" }, "name": { "type": "string" }, "total": { "type": "number" } }, "required": [], "type": "object" }, "RecordsSpec": { "properties": { "engine": { "type": "string" } }, "required": [], "type": "object" }, "StoreSpec": { "properties": { "backend": { "type": "string" }, "wrappers": { "items": { "$ref": "#/components/schemas/StoreWrapperSpec" }, "type": "array" } }, "required": [], "type": "object" }, "StoreWrapperSpec": { "properties": { "flush_interval": { "type": "number" }, "type": { "type": "string" } }, "required": [], "type": "object" }, "addOwnerInput": { "properties": { "owner_id": { "type": "string" } }, "required": [], "type": "object" }, "createApiKeyInput": { "properties": { "name": { "type": "string" } }, "required": [], "type": "object" }, "createApiKeyOutput": { "properties": { "creation_date": { "examples": [ "2006-01-02T15:04:05Z07:00" ], "format": "date-time", "type": "string" }, "key": { "type": "string" }, "name": { "type": "string" }, "secret": { "type": "string" } }, "required": [], "type": "object" }, "createCollectionRequest": { "properties": { "defaults": {}, "name": { "type": "string" } }, "required": [], "type": "object" }, "createDatabaseRequest": { "properties": { "name": { "type": "string" } }, "required": [], "type": "object" }, "createDatabaseResponse": { "properties": { "creation_date": { "examples": [ "2006-01-02T15:04:05Z07:00" ], "format": "date-time", "type": "string" }, "id": { "type": "string" }, "name": { "type": "string" } }, "required": [], "type": "object" }, "deleteApiKeyInput": { "properties": { "key": { "type": "string" } }, "required": [], "type": "object" }, "deleteOwnerInput": { "properties": { "owner_id": { "type": "string" } }, "required": [], "type": "object" }, "documentLookupResponse": { "properties": { "document": {}, "id": { "type": "string" }, "source": { "$ref": "#/components/schemas/documentLookupSource" } }, "required": [], "type": "object" }, "documentLookupSource": { "properties": { "name": { "type": "string" }, "type": { "type": "string" } }, "required": [], "type": "object" }, "dropIndexRequest": { "properties": { "name": { "type": "string" } }, "required": [], "type": "object" }, "getDatabaseResponse": { "properties": { "api_keys": { "items": { "$ref": "#/components/schemas/ApiKey" }, "type": "array" }, "creation_date": { "examples": [ "2006-01-02T15:04:05Z07:00" ], "format": "date-time", "type": "string" }, "id": { "type": "string" }, "name": { "type": "string" }, "owners": { "items": { "type": "string" }, "type": "array" } }, "required": [], "type": "object" }, "getIndexInput": { "properties": { "Name": { "type": "string" } }, "required": [], "type": "object" }, "listDatabasesResponseItem": { "properties": { "id": { "type": "string" }, "name": { "type": "string" }, "owners_length": { "type": "number" } }, "required": [], "type": "object" }, "listIndexesItem": { "properties": { "name": { "type": "string" }, "options": {}, "type": { "type": "string" } }, "required": [], "type": "object" }, "updateDatabaseInput": { "properties": { "name": { "type": "string" } }, "required": [], "type": "object" } } }, "info": { "contact": { "url": "https://github.com/fulldump/config/issues/new" }, "description": "Config service for hola.cloud", "title": "HolaCloud Config", "version": "1" }, "openapi": "3.1.0", "paths": { "/doc": { "get": { "operationId": "func2", "responses": {} } }, "/release": { "get": { "operationId": "func7", "responses": { "default": { "content": { "application/json": { "schema": { "type": "string" } } }, "description": "some human description" } } } }, "/v1": { "get": { "operationId": "func3", "responses": { "default": { "content": { "application/json": { "schema": { "type": "string" } } }, "description": "some human description" } } } }, "/v1/databases": { "get": { "operationId": "listDatabases", "responses": { "default": { "content": { "application/json": { "schema": { "items": { "$ref": "#/components/schemas/listDatabasesResponseItem" }, "type": "array" } } }, "description": "some human description" } } }, "options": { "operationId": "func4", "responses": {} }, "post": { "operationId": "createDatabase", "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/createDatabaseRequest" } } }, "description": "TODO", "required": true }, "responses": { "default": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/createDatabaseResponse" } } }, "description": "some human description" } } } }, "/v1/databases/{databaseId}": { "delete": { "operationId": "dropDatabase", "parameters": [ { "in": "path", "name": "databaseId", "required": true, "schema": { "type": "string" } } ], "responses": {} }, "get": { "operationId": "getDatabase", "parameters": [ { "in": "path", "name": "databaseId", "required": true, "schema": { "type": "string" } } ], "responses": { "default": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/getDatabaseResponse" } } }, "description": "some human description" } } }, "patch": { "operationId": "updateDatabase", "parameters": [ { "in": "path", "name": "databaseId", "required": true, "schema": { "type": "string" } } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/updateDatabaseInput" } } }, "description": "TODO", "required": true }, "responses": { "default": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/getDatabaseResponse" } } }, "description": "some human description" } } } }, "/v1/databases/{databaseId}/collections": { "get": { "operationId": "listCollections", "parameters": [ { "in": "path", "name": "databaseId", "required": true, "schema": { "type": "string" } } ], "responses": { "default": { "content": { "application/json": { "schema": { "items": { "$ref": "#/components/schemas/CollectionResponse" }, "type": "array" } } }, "description": "some human description" } } }, "options": { "operationId": "func6", "parameters": [ { "in": "path", "name": "databaseId", "required": true, "schema": { "type": "string" } } ], "responses": {} }, "post": { "operationId": "createCollection", "parameters": [ { "in": "path", "name": "databaseId", "required": true, "schema": { "type": "string" } } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/createCollectionRequest" } } }, "description": "TODO", "required": true }, "responses": { "default": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/CollectionResponse" } } }, "description": "some human description" } } } }, "/v1/databases/{databaseId}/collections/{collectionName}": { "get": { "operationId": "getCollection", "parameters": [ { "in": "path", "name": "databaseId", "required": true, "schema": { "type": "string" } }, { "in": "path", "name": "collectionName", "required": true, "schema": { "type": "string" } } ], "responses": { "default": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/CollectionResponse" } } }, "description": "some human description" } } } }, "/v1/databases/{databaseId}/collections/{collectionName}/documents/{documentId}": { "get": { "operationId": "getDocument", "parameters": [ { "in": "path", "name": "databaseId", "required": true, "schema": { "type": "string" } }, { "in": "path", "name": "collectionName", "required": true, "schema": { "type": "string" } }, { "in": "path", "name": "documentId", "required": true, "schema": { "type": "string" } } ], "responses": { "default": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/documentLookupResponse" } } }, "description": "some human description" } } } }, "/v1/databases/{databaseId}/collections/{collectionName}:createIndex": { "operationId": "createIndex", "parameters": [ { "in": "path", "name": "databaseId", "required": true, "schema": { "type": "string" } }, { "in": "path", "name": "collectionName", "required": true, "schema": { "type": "string" } } ], "responses": { "default": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/listIndexesItem" } } }, "description": "some human description" } } }, "/v1/databases/{databaseId}/collections/{collectionName}:dropCollection": { "operationId": "dropCollection", "parameters": [ { "in": "path", "name": "databaseId", "required": true, "schema": { "type": "string" } }, { "in": "path", "name": "collectionName", "required": true, "schema": { "type": "string" } } ], "responses": {} }, "/v1/databases/{databaseId}/collections/{collectionName}:dropIndex": { "operationId": "dropIndex", "parameters": [ { "in": "path", "name": "databaseId", "required": true, "schema": { "type": "string" } }, { "in": "path", "name": "collectionName", "required": true, "schema": { "type": "string" } } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/dropIndexRequest" } } }, "description": "TODO", "required": true }, "responses": {} }, "/v1/databases/{databaseId}/collections/{collectionName}:find": { "operationId": "find", "parameters": [ { "in": "path", "name": "databaseId", "required": true, "schema": { "type": "string" } }, { "in": "path", "name": "collectionName", "required": true, "schema": { "type": "string" } } ], "responses": {} }, "/v1/databases/{databaseId}/collections/{collectionName}:getIndex": { "operationId": "getIndex", "parameters": [ { "in": "path", "name": "databaseId", "required": true, "schema": { "type": "string" } }, { "in": "path", "name": "collectionName", "required": true, "schema": { "type": "string" } } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/getIndexInput" } } }, "description": "TODO", "required": true }, "responses": { "default": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/listIndexesItem" } } }, "description": "some human description" } } }, "/v1/databases/{databaseId}/collections/{collectionName}:insert": { "operationId": "insert", "parameters": [ { "in": "path", "name": "databaseId", "required": true, "schema": { "type": "string" } }, { "in": "path", "name": "collectionName", "required": true, "schema": { "type": "string" } } ], "responses": {} }, "/v1/databases/{databaseId}/collections/{collectionName}:listIndexes": { "operationId": "listIndexes", "parameters": [ { "in": "path", "name": "databaseId", "required": true, "schema": { "type": "string" } }, { "in": "path", "name": "collectionName", "required": true, "schema": { "type": "string" } } ], "responses": { "default": { "content": { "application/json": { "schema": { "items": { "$ref": "#/components/schemas/listIndexesItem" }, "type": "array" } } }, "description": "some human description" } } }, "/v1/databases/{databaseId}/collections/{collectionName}:patch": { "operationId": "patch", "parameters": [ { "in": "path", "name": "databaseId", "required": true, "schema": { "type": "string" } }, { "in": "path", "name": "collectionName", "required": true, "schema": { "type": "string" } } ], "responses": {} }, "/v1/databases/{databaseId}/collections/{collectionName}:remove": { "operationId": "remove", "parameters": [ { "in": "path", "name": "databaseId", "required": true, "schema": { "type": "string" } }, { "in": "path", "name": "collectionName", "required": true, "schema": { "type": "string" } } ], "responses": {} }, "/v1/databases/{databaseId}/collections/{collectionName}:setDefaults": { "operationId": "setDefaults", "parameters": [ { "in": "path", "name": "databaseId", "required": true, "schema": { "type": "string" } }, { "in": "path", "name": "collectionName", "required": true, "schema": { "type": "string" } } ], "responses": {} }, "/v1/databases/{databaseId}/collections/{collectionName}:size": { "operationId": "size", "parameters": [ { "in": "path", "name": "databaseId", "required": true, "schema": { "type": "string" } }, { "in": "path", "name": "collectionName", "required": true, "schema": { "type": "string" } } ], "responses": { "default": { "content": { "application/json": { "schema": {} } }, "description": "some human description" } } }, "/v1/databases/{databaseId}:addOwner": { "operationId": "addOwner", "parameters": [ { "in": "path", "name": "databaseId", "required": true, "schema": { "type": "string" } } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/addOwnerInput" } } }, "description": "TODO", "required": true }, "responses": { "default": { "content": { "application/json": { "schema": { "items": { "type": "string" }, "type": "array" } } }, "description": "some human description" } } }, "/v1/databases/{databaseId}:createApiKey": { "operationId": "createApiKey", "parameters": [ { "in": "path", "name": "databaseId", "required": true, "schema": { "type": "string" } } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/createApiKeyInput" } } }, "description": "TODO", "required": true }, "responses": { "default": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/createApiKeyOutput" } } }, "description": "some human description" } } }, "/v1/databases/{databaseId}:deleteApiKey": { "operationId": "deleteApiKey", "parameters": [ { "in": "path", "name": "databaseId", "required": true, "schema": { "type": "string" } } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/deleteApiKeyInput" } } }, "description": "TODO", "required": true }, "responses": {} }, "/v1/databases/{databaseId}:deleteOwner": { "operationId": "deleteOwner", "parameters": [ { "in": "path", "name": "databaseId", "required": true, "schema": { "type": "string" } } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/deleteOwnerInput" } } }, "description": "TODO", "required": true }, "responses": { "default": { "content": { "application/json": { "schema": { "items": { "type": "string" }, "type": "array" } } }, "description": "some human description" } } } }, "servers": [ { "url": "https://inceptiondb.hola.cloud" }, { "url": "http://inceptiondb.hola.cloud" } ] }