Create the application for this project
create_applicationCreates and records an Antideploy application for a project in .antideploy.json so later database and deploy calls target the right app; handles existing names by linking them.
Instructions
Create an Antideploy application for the project in this folder and record it in .antideploy.json, so every later call knows which application it is about. This is the step the dashboard used to be for: there is no application or key to make by hand. Do it once per project, before database_create and deploy. A name already in use answers with the existing application, which is then linked instead of duplicated and marked reusedExisting: that application may belong to another project, and a deploy replaces what is live there, so ask the user before deploying to it. The address is the user's to choose: if they have said what they want, pass it as subdomain after check_address; otherwise leave it out and settle it with update_app_settings before the first deploy. A 402 means the plan's limit is reached: that is not a rate limit, so do not retry, say what it says and let the user choose. Needs login.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Letters, digits and hyphens. Defaults to the folder's name. | |
| directory | No | The project folder. Defaults to this server's working directory. | |
| subdomain | No | The address label the user chose, like my-app. |