App
Creates a App resource.
Creates a App resource.
post/v1/apps
Request
- Base URL: https://api.fortrabbit.com
- URL: https://api.fortrabbit.com/v1/apps
- Auth: HTTP bearer
Request body
Example request
{
"name": "acme-shop",
"region": "eu-w1a",
"softwarePresetName": "laravel",
"initialEnvironment": {
"softwareVersion": "11",
"phpVersion": "8.4",
"components": {
"php": "sm",
"storage": "xs",
"traffic": "xs",
"backups": "xs"
},
"autoscaling": true,
"deployment": {
"git": {
"repository": "acme/shop",
"branch": "main",
"directory": "/"
},
"buildCommands": [
"composer install --no-dev"
],
"postDeployCommands": [
"php artisan migrate --force"
],
"startFirstDeployment": true
}
}
}Response
App resource created
Changes
No recorded changes to this operation across all 1 revision of this API.