API ReferenceDev servers
Execute a command on a Dev Server
Request Body
application/json
devServer*
command*string
background*boolean
Spawn this command as a background process and return immediately
Response Body
application/json
curl -X POST "https://api.freestyle.sh/ephemeral/v1/dev-servers/exec" \ -H "Content-Type: application/json" \ -d '{ "devServer": { "repoId": "c7c90052-c566-40b6-94a5-a1e9a44bfdc7" }, "command": "string", "background": true }'{
"id": "string",
"isNew": true,
"stdout": [
"string"
],
"stderr": [
"string"
]
}