{ "openapi": "3.0.0", "servers": [ { "url": "https://collector.spaceapi.io" } ], "info": { "description": "This is the spaceApi collector", "version": "0.0.1", "title": "SpaceApi collector", "termsOfService": "https://spaceapi.io/daemon/terms", "contact": { "email": "spaceapi-team@chaospott.de" }, "license": { "name": "Apache 2.0", "url": "http://www.apache.org/licenses/LICENSE-2.0.html" } }, "paths": { "/": { "get": { "summary": "", "responses": { "200": { "description": "successful operation", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/DirectoryEntry" } } } }, "500": { "description": "something went wrong" } } } } }, "components": { "schemas": { "DirectoryEntry": { "description": "Internal SpaceAPI Directory entry", "type": "object", "properties": { "items": { "description": "List of directory entries", "type": "array", "items": { "type": "object", "properties": { "url": { "description": "url to the spaceapi file", "type": "string" }, "valid": { "description": "indicates if the provided file is valid", "type": "boolean" }, "space": { "description": "The name of the space", "type": "string" }, "lastSeen": { "description": "when we've seen the endpoint the last time (doesn't have to be valid, but the url was reachable and provided valid json)", "type": "number" }, "errMsg": { "description": "provided if we found an error with that specific endpoint", "type": "string" }, "data": { "description": "raw json from the last scraping", "type": "object" } }, "required": [ "url", "valid" ] } } } } } }, "externalDocs": { "description": "Find out more about spaceApi directory", "url": "https://spaceapi.io" } }