projects

Applied from Spala Step Script.

post/api/projects

Request

  • Base URL: https://api.spala.ai/api
  • URL: https://api.spala.ai/api/api/projects
  • Auth: HTTP bearer

Request body

project_namestring required
organization_idstring required
staging_database_ownershipstring
templatestring
template_themeunknown

Response

Successful response

idinteger
database_namestring
database_role'staging' | 'production' required
display_hoststring
environment_idstring required

Foreign key referencing project_environments

is_activeboolean required
organization_idstring required

Foreign key referencing organizations

ownership'spala_managed' | 'customer_managed' required
project_idstring required

Foreign key referencing projects

provider'postgres' required
quota_bytesnumber
status'pending' | 'ready' | 'migrating' | 'failed' | 'detached' required

Changes

No recorded changes to this operation across all 1 revision of this API.