API ReferenceDev servers
Commit and push changes from the dev server
Request Body
application/json
devServer*
message*string
Response Body
application/json
application/json
application/json
application/json
curl -X POST "https://api.freestyle.sh/ephemeral/v1/dev-servers/git/commit-push" \ -H "Content-Type: application/json" \ -d '{ "devServer": { "repoId": "c7c90052-c566-40b6-94a5-a1e9a44bfdc7" }, "message": "string" }'{
"committed": true,
"pushed": true
}{
"error": "string",
"message": "string"
}{
"error": "string",
"message": "string"
}{
"error": "string",
"message": "string"
}