What problem does it solve?
It prevents broken or inconsistent API integrations by guiding how to design the ObjectStack runtime’s server-side REST/GraphQL endpoints, auth, realtime transport, error envelopes, and versioned contracts.
Core Features & Use Cases
- Custom endpoint design beyond CRUD: Define bespoke routes (methods, paths, request/response schemas, handler status) that fit ObjectStack’s routing and dispatcher expectations.
- Auth and authorization contracts: Specify required authentication, permissions, rate limits, and the RBAC/RLS/FLS layers that govern access.
- Service discovery and reliability: Define how services register with the kernel and how health and readiness are exposed to clients and operators.
- Consistency and safety guidelines: Apply endpoint naming conventions, error handling expectations, and best practices like idempotent upserts and consistent pagination.
Quick Start
Use the objectstack-api skill to design a custom endpoint route that performs a secure domain action on a record by specifying its path, method, request parameters and body schema, response shapes, and required permissions.