DevPanel
Documentation
Reference

API Reference

REST API served on port 33001. All endpoints require a Bearer JWT except POST /auth/login.

Interactive Swagger UI available at http://localhost:33001/api/docs once DevPanel is running.

Authentication

Request
POST /auth/login
Content-Type: application/json

{ "email": "admin@example.com", "password": "..." }

→ 200 { "token": "eyJ..." }
Subsequent requests
Authorization: Bearer eyJ...

Key endpoints

MethodPathDescription
POST/auth/loginObtain a JWT token
POST/auth/registerCreate the initial admin account (first-run only)
GET/projectsList all projects
POST/projectsCreate a project
PATCH/projects/:idUpdate project name or description
DELETE/projects/:idDelete a project and all its services
GET/projects/:id/servicesList services in a project
POST/projects/:id/servicesCreate a service
PATCH/services/:idUpdate service name, compose YAML, or server
DELETE/services/:idDelete a service and stop its containers
POST/services/:id/deployDeploy (or redeploy) a service
POST/services/:id/restartRestart a running service
POST/services/:id/stopStop a running service
GET/services/:id/envList environment variables for a service
PUT/services/:id/envReplace all environment variables
GET/services/:id/domainsList domains attached to a service
POST/services/:id/domainsAttach a domain and provision SSL
DELETE/services/:id/domains/:domainIdRemove a domain
GET/serversList servers
POST/serversCreate a server
DELETE/servers/:idDelete a server
GET/healthHealth check (no auth required)