Validate custom variation
get/midgard/v0.1/stack/custom-variation/validate/{stackItemId}
Validate a custom memory, CPU, and disk size variation for a stack item.
Request
Authorization
X-AT
header
apiKey
Path Parameters
stackItemIdStack item ID.
integer
REQUIRED
Query Parameters
memoryInMibDesired memory in MiB.
integer
REQUIRED
cpuCoresDesired number of CPU cores.
integer
REQUIRED
diskSizeInMibDesired disk size in MiB.
integer
REQUIRED
Response
200Custom variation validated successfully.
403Returned when the requester is not authorized.
404Stack item not found.
Shell cURL
shell
Show schema
json