Create service
POST {{baseUrl}}/services
https://api-docs.render.com/reference/create-service
Request Body
{"type"=>"web_service", "name"=>"cillum ipsum", "ownerId"=>"iru", "repo"=>"https://github.com/render-examples/flask-hello-world", "autoDeploy"=>"yes", "branch"=>"Excepteur mollit in", "envVars"=>[{"key"=>"eu", "value"=>"dolor"}, {"key"=>"minim nisi voluptate non", "value"=>"vol"}], "secretFiles"=>[{"name"=>"ad ex Duis", "contents"=>"ipsum consequat dolor dolor"}, {"name"=>"sunt paria", "contents"=>"exercitation ut Duis ex"}], "serviceDetails"=>{"buildCommand"=>"dolore ex", "headers"=>[{"path"=>"enim Excepteur p", "name"=>"deserunt", "value"=>"commodo nisi proident ad velit"}, {"path"=>"labore vel", "name"=>"exercitation dolor minim nostrud esse", "value"=>"Lorem occaecat tempor"}], "publishPath"=>"public", "pullRequestPreviewsEnabled"=>"no", "routes"=>[{"type"=>"redirect", "source"=>"sed", "destination"=>"dolor"}, {"type"=>"redirect", "source"=>"proident aute irure veniam occaecat", "destination"=>"sit culpa a"}]}}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string | ||
Accept | string |
RESPONSES
status: Created
{"service":{"id":"ea veniam","autoDeploy":"yes","branch":"Excepteur","createdAt":"1999-10-21T15:43:09.576Z","name":"e","notifyOnFail":"default","ownerId":"laborum mollit","repo":"https://github.com/render-examples/flask-hello-world","slug":"nisi tempor dolore","suspended":"not_suspended","suspenders":["admin","unknown"],"type":"private_service","updatedAt":"1988-04-27T23:28:54.313Z","serviceDetails":{"buildCommand":"ut","parentServer":{"id":"es","name":"sunt eu do amet "},"publishPath":"ipsum ut","pullRequestPreviewsEnabled":"no","url":"officia ut Excepteur culpa"}},"deployId":"nostrud qui Excepteur commodo"}