{ "openapi": "3.1.0", "info": { "title": "AITBC Blockchain Node API API", "description": "OpenAPI specification for AITBC Blockchain Node API service", "version": "1.0.0" }, "paths": { "/health": { "get": { "summary": "Health", "description": "Health check endpoint", "operationId": "health_health_get", "responses": { "200": { "description": "Successful Response", "content": { "application/json": { "schema": { "additionalProperties": { "type": "string" }, "type": "object", "title": "Response Health Health Get" } } } } } } }, "/services": { "get": { "summary": "List Services", "description": "List registered services", "operationId": "list_services_services_get", "responses": { "200": { "description": "Successful Response", "content": { "application/json": { "schema": { "additionalProperties": { "additionalProperties": { "type": "string" }, "type": "object" }, "type": "object", "title": "Response List Services Services Get" } } } } } } }, "/{path}": { "patch": { "summary": "Proxy Request", "description": "Proxy request to appropriate microservice with rate limiting and circuit breaker.", "operationId": "proxy_request__path__patch", "security": [ { "HTTPBearer": [] } ], "parameters": [ { "name": "path", "in": "path", "required": true, "schema": { "type": "string", "title": "Path" } } ], "responses": { "200": { "description": "Successful Response", "content": { "application/json": { "schema": {} } } }, "422": { "description": "Validation Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/HTTPValidationError" } } } } } }, "get": { "summary": "Proxy Request", "description": "Proxy request to appropriate microservice with rate limiting and circuit breaker.", "operationId": "proxy_request__path__patch", "security": [ { "HTTPBearer": [] } ], "parameters": [ { "name": "path", "in": "path", "required": true, "schema": { "type": "string", "title": "Path" } } ], "responses": { "200": { "description": "Successful Response", "content": { "application/json": { "schema": {} } } }, "422": { "description": "Validation Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/HTTPValidationError" } } } } } }, "options": { "summary": "Proxy Request", "description": "Proxy request to appropriate microservice with rate limiting and circuit breaker.", "operationId": "proxy_request__path__patch", "security": [ { "HTTPBearer": [] } ], "parameters": [ { "name": "path", "in": "path", "required": true, "schema": { "type": "string", "title": "Path" } } ], "responses": { "200": { "description": "Successful Response", "content": { "application/json": { "schema": {} } } }, "422": { "description": "Validation Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/HTTPValidationError" } } } } } }, "delete": { "summary": "Proxy Request", "description": "Proxy request to appropriate microservice with rate limiting and circuit breaker.", "operationId": "proxy_request__path__patch", "security": [ { "HTTPBearer": [] } ], "parameters": [ { "name": "path", "in": "path", "required": true, "schema": { "type": "string", "title": "Path" } } ], "responses": { "200": { "description": "Successful Response", "content": { "application/json": { "schema": {} } } }, "422": { "description": "Validation Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/HTTPValidationError" } } } } } }, "post": { "summary": "Proxy Request", "description": "Proxy request to appropriate microservice with rate limiting and circuit breaker.", "operationId": "proxy_request__path__patch", "security": [ { "HTTPBearer": [] } ], "parameters": [ { "name": "path", "in": "path", "required": true, "schema": { "type": "string", "title": "Path" } } ], "responses": { "200": { "description": "Successful Response", "content": { "application/json": { "schema": {} } } }, "422": { "description": "Validation Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/HTTPValidationError" } } } } } }, "put": { "summary": "Proxy Request", "description": "Proxy request to appropriate microservice with rate limiting and circuit breaker.", "operationId": "proxy_request__path__patch", "security": [ { "HTTPBearer": [] } ], "parameters": [ { "name": "path", "in": "path", "required": true, "schema": { "type": "string", "title": "Path" } } ], "responses": { "200": { "description": "Successful Response", "content": { "application/json": { "schema": {} } } }, "422": { "description": "Validation Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/HTTPValidationError" } } } } } } } }, "components": { "schemas": { "HTTPValidationError": { "properties": { "detail": { "items": { "$ref": "#/components/schemas/ValidationError" }, "type": "array", "title": "Detail" } }, "type": "object", "title": "HTTPValidationError" }, "ValidationError": { "properties": { "loc": { "items": { "anyOf": [ { "type": "string" }, { "type": "integer" } ] }, "type": "array", "title": "Location" }, "msg": { "type": "string", "title": "Message" }, "type": { "type": "string", "title": "Error Type" }, "input": { "title": "Input" }, "ctx": { "type": "object", "title": "Context" } }, "type": "object", "required": [ "loc", "msg", "type" ], "title": "ValidationError" } }, "securitySchemes": { "HTTPBearer": { "type": "http", "scheme": "bearer" } } }, "servers": [ { "url": "https://aitbc.bubuit.net/api", "description": "Production server" }, { "url": "https://staging-api.aitbc.io", "description": "Staging server" }, { "url": "http://localhost:8011", "description": "Development server" } ] }