apps

Update an app

Update an app

put/api/projects/{projectName}/apps/{appName}

Request

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

Path parameters

projectNamestring required

Name of project to update app in

appNamestring required

Name of app to update

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 updated

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.