HeliosDB OpenAPI 3.0 Specification
HeliosDB OpenAPI 3.0 Specification
Version: 1.0 Last Updated: 2025-11-30
Overview
openapi: 3.0.0info: title: HeliosDB REST API version: 7.0.0 description: Multi-protocol database with REST endpoint supportservers: - url: https://api.heliosdb.com/v1 description: Production - url: http://localhost:5432/v1 description: Local DevelopmentAuthentication
components: securitySchemes: apiKey: type: apiKey in: header name: X-API-Key bearer: type: http scheme: bearer bearerFormat: JWT
security: - apiKey: [] - bearer: []Endpoints
List Resources
/api/{collection}: get: summary: List resources parameters: - name: limit in: query schema: type: integer description: Number of records - name: offset in: query schema: type: integer description: Offset for pagination responses: 200: description: Success content: application/json: schema: type: array items: $ref: '#/components/schemas/Resource'Create Resource
post: summary: Create resource requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/ResourceInput' responses: 201: description: Created content: application/json: schema: $ref: '#/components/schemas/Resource'Get Resource
/api/{collection}/{id}: get: summary: Get resource by ID parameters: - name: id in: path required: true schema: type: string responses: 200: description: Success content: application/json: schema: $ref: '#/components/schemas/Resource' 404: description: Not foundData Models
components: schemas: Resource: type: object properties: id: type: string format: uuid name: type: string created_at: type: string format: date-time updated_at: type: string format: date-time required: - id - name
Error: type: object properties: code: type: string message: type: string details: type: objectGenerated Documentation
# Export OpenAPI speccurl https://api.heliosdb.com/v1/openapi.json > openapi.json
# Generate client librariesnpm install @openapitools/openapi-generator-cliopenapi-generator-cli generate \ -i openapi.json \ -g typescript-axios \ -o ./clientTry It Out
Related Documentation: