Add stack items
post/midgard/v0.1/stack
Add one or more stack items to an existing application.Request
Authorization
X-AT
header
apiKey
Body
application/json
applicationId
integer
REQUIRED
stack
array object[]
REQUIRED
object {}
name
string
component
object
REQUIRED
object {}
id
integer
REQUIRED
componentVariation
object
object {}
id
integer
REQUIRED
instanceCount
integer
minInstanceCount
integer
maxInstanceCount
integer
cpuThresholdPercent
integer
diskThresholdPercent
integer
memoryThresholdPercent
integer
cpuCores
integer
diskSizeInMib
integer
memoryInMib
integer
zoneId
integer
Response
201Stack items added successfully.
403Returned when the requester is not authorized.
404Application not found.
500Stack item creation failed.
Shell cURL
shellShow schema
json