Instances
Create instance
Create a new instance for an environment.
post/environments/{environment}/instances
Request
- Base URLhttps://cloud.laravel.com/api
- AuthHTTP bearer
Path parameters
environmentstring required
The environment identifier
Request body
Example request
{
"max_replicas": 10,
"min_replicas": 1,
"sleep_with_app": true,
"visibility_timeout": 180,
"shutdown_timeout": 90,
"background_processes": [
{
"command": "php artisan my:command",
"config": {
"connection": "redis",
"queue": "default,emails",
"tries": 3,
"backoff": 30,
"sleep": 3,
"timeout": 60
}
}
]
}Response
InstanceResource
Changes
No recorded changes to this operation across all 1 revision of this API.