Create project
Changed onCreate project.
Auth: Required (bearer token). Scope: Organization-scoped in authenticated context. Side effects: May mutate server state.
Request
- Base URLhttp://:8080
- URLhttp://:8080/api/v1/deploy/application/project
- Authnone declared
Headers
Request body */*
Example request
{
"base_path": "/",
"branch": "main",
"build_pack": "dockerfile",
"compose_domains": [
{
"domain": "app.example.com",
"port": 8080,
"service_name": "web"
}
],
"compose_services": [
{
"port": 8080,
"service_name": "web"
}
],
"dockerfile_path": "Dockerfile",
"environment": "production",
"name": "my-web-app",
"port": 3000,
"post_run_command": "npm run seed",
"pre_run_command": "npm run migrate",
"primary_server_id": "550e8400-e29b-41d4-a716-446655440000",
"repository": "912345678",
"routing_strategy": "round-robin",
"source": "github"
}Response
Created
Changes
- breaking
the request property
//became required - breaking
the request property
//became required - breaking
the request property
//became required - breaking
the request property
became required - breaking
the request property
became required - breaking
removed the success response with the status
- info
api tag
Deployadded - info
api tag
api/v1/deployremoved - info
api tag
applicationremoved - info
api tag
projectremoved - info
added the success response with the status
- breaking
- info
added the optional property
///////to the response with the status (media type: application/json) - info
added the optional property
///////to the response with the status (media type: application/xml) - info
added the optional property
////to the response with the status (media type: application/json) - info
added the optional property
////to the response with the status (media type: application/xml) - info
added the optional property
//////to the response with the status (media type: application/json) - info
added the optional property
//////to the response with the status (media type: application/xml) - info
added the optional property
/to the response with the status (media type: application/json) - info
added the optional property
/to the response with the status (media type: application/xml)
- info