Skip to content

Services API

GET
/v1/environments/:environmentId/services
POST
/v1/environments/:environmentId/services/application
{
"name": "my-app",
"slug": "my-app",
"gitRepoUrl": "https://github.com/user/repo",
"gitBranch": "main",
"port": 3000,
"planId": "uuid"
}
POST
/v1/environments/:environmentId/services/wordpress
{
"name": "my-blog",
"slug": "my-blog",
"siteTitle": "My Blog",
"adminEmail": "admin@example.com",
"planId": "uuid"
}
POST
/v1/environments/:environmentId/services/database
{
"name": "my-db",
"dbType": "postgresql",
"dbVersion": "16"
}
GET
/v1/services/:serviceId
POST
/v1/services/:serviceId/stop
POST
/v1/services/:serviceId/restart
DELETE
/v1/environments/:environmentId/services/:serviceId