v1
latestOpenAPI 3.0.22026-07-26207170320.9 KBServices
Create service
Creates a new Render service in the specified workspace with the specified configuration.
post/services
Request body
Example request
{
"repo": "https://github.com/render-examples/flask-hello-world",
"serviceDetails": {
"headers": [
{
"path": "/static/*",
"name": "Cache-Control",
"value": "public, max-age=604800"
}
],
"routes": [
{
"source": "/:bar/foo",
"destination": "/foo/:bar"
}
]
}
}Response
Created