Openframe External Api Service Core
OpenFrame Documentation
Get the most out of OpenFrame · Book 30 minutes with Conrad, 25 years in IT. He'll show you what Mingo and Fae can take off your list.
OpenFrame Documentation
Openframe External Api Service Core is the library-backed REST surface used by the openframe-external-api Spring Boot service. It exposes selected OpenFrame capabilities to API-key integrations: customers, devices, tickets, knowledge base content, logs, integrated tools, and proxied tool endpoints.
The tenant repository runs this module through the ExternalApiApplication service entry point. The implementation itself is supplied by the OpenFrame OSS Library artifact com.openframe.oss:openframe-external-api-service-core at version 7.0.11.
flowchart LR
Integration["External Integration"] --> Gateway["OpenFrame Gateway"]
Gateway --> Auth["API Key Authentication"]
Auth --> Service["External API Service"]
Service --> Controllers["REST Controllers"]
Controllers --> Domain["Shared Domain Services"]
Domain --> Data["Tenant Data Stores"]
Controllers --> ToolProxy["Integrated Tool Proxy"]
ToolProxy --> Tools["Integrated Tools"]
The gateway validates the API key before forwarding an external API request. It removes the original key and supplies the authenticated user and API-key identifiers as trusted headers. The service binds those headers to an ApiCaller argument for controller logging and, where the shared domain requires it, resolves the caller to an authenticated principal.
/api/v1 for platform data and workflows.Instant values to UTC ISO-8601 strings with millisecond precision.sequenceDiagram
participant Client as External Client
participant Gateway as OpenFrame Gateway
participant API as External API Service
participant Domain as Shared Domain Services
participant Store as Tenant Data Stores
Client->>Gateway: Request with X-API-Key
Gateway->>Gateway: Validate key and enforce rate limits
Gateway->>API: Forward identity headers
API->>API: Bind ApiCaller and validate request
API->>Domain: Execute domain operation
Domain->>Store: Query or update tenant data
Store->>Domain: Return result
Domain->>API: Return domain result
API->>Client: REST response with millisecond timestamps
Authentication and rate limiting are gateway responsibilities. Requests under the external API gateway prefix require an API key, while direct Swagger and OpenAPI paths are exempted by the gateway filter. A successfully validated request receives rate-limit response headers when configured. Controllers receive the gateway-provided caller context through ApiCallerArgumentResolver; they do not parse API-key material themselves.
The gateway routes /api-docs/** to the external API service. The OpenAPI group includes /api/v1/** and /tools/** while excluding actuator and core API paths. The generated contract declares the API-key header scheme and common 400, 401, 429, and 500 responses.
The runtime implementation is maintained in the OpenFrame OSS Library. Source links in the detailed documentation point to that library revision, rather than to this tenant repository.