apps

Create an app

Create an app gets a project as a query parameter and returns the app

post/api/projects/{projectName}/apps

Request

  • Base URL: https://api.hostim.dev
  • URL: https://api.hostim.dev/api/projects/{projectName}/apps
  • Auth: HTTP bearer

Path parameters

projectNamestring required

Name of project to create app in

Request body

namestring required

The app name

replicasinteger required

The number of replicas

publicboolean required

Whether the app is public or not

builtInDomainstring

The built-in domain of the app

domainsstring[] required

The domains of the app

httpPortinteger nullable

The http port

healthCheckPathstring nullable

HTTP path used for the readiness probe. Empty/unset disables it.

planstring required

The plan of the app

typestring

The type of the app (shared or dedicated)

ramnumber

The amount of RAM

cpunumber

The amount of CPU

commandOverridestring

The command override

costnumber

The cost of the app per month

Response

App created

namestring required

The app name

replicasinteger required

The number of replicas

publicboolean required

Whether the app is public or not

builtInDomainstring

The built-in domain of the app

domainsstring[] required

The domains of the app

httpPortinteger nullable

The http port

healthCheckPathstring nullable

HTTP path used for the readiness probe. Empty/unset disables it.

planstring required

The plan of the app

typestring

The type of the app (shared or dedicated)

ramnumber

The amount of RAM

cpunumber

The amount of CPU

commandOverridestring

The command override

costnumber

The cost of the app per month

Changes

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