Make Custom Http APIs for your Golem App
Golem's Gateway service not only exposes the low-level REST API for invocations but also provides a way to expose the worker functions as HTTP APIs.
Future versions will support other protocols as well such as gRPC or GraphQL.
For reference, see the API Definition Reference page.
API Development Workflow
- Create a component: Learn how to create a new API definition.
- Expose HTTP APIs for your Golem App: Learn how to create a new API definition.
- Update HTTP APIs: Make changes to existing APIs and redeploy.
- Authenticated HTTP APIs APIs: Configure authentication mechanisms for your API.
- CORS for HTTP APIs: Set up Cross-Origin Resource Sharing (CORS) policies.
- Customise Http Responses with Rib: Use Rib for customizing API response mappings.
- Automatic Documentation for Endpoints: Learn more on automatic spec generation based on Rib scripts.
- Constraints on Component Updates: Learn more on restrictions for updating components after deployment.
- Import OpenAPI Specifications: Convert OpenAPI specs into Golem API definitions.
- Integrate with External API Gateways: Connect your APIs to existing gateways.
- Troubleshoot Common Issues: Resolve potential problems with your APIs.