API Reference
Authentication
All API requests require a valid JWT token in the Authorization header.
Authorization: Bearer YOUR_JWT_TOKEN POST /api/auth/login
Authenticate a user and get a JWT token.
GET /api/spaces
List all spaces for the authenticated user.
POST /api/spaces/:spaceId/features
Create a new feature in the specified space.
GET /api/spaces/:spaceId/environments
Get all environments in a space.