AddImageShapeCompatibilityEntry
PUT {{baseUrl}}/images/:imageId/shapes/:shapeName
Adds a shape to the compatible shapes list for the image.
Request Body
{"memoryConstraints"=>{"maxInGBs"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "minInGBs"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}}, "ocpuConstraints"=>{"max"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "min"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}}}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string | ||
Date | string | (Required) Current Date | |
Authorization | string | (Required) Signature Authentication on Authorization header | |
x-content-sha256 | string | (Required) Content sha256 for POST, PUT and PATCH operations |
RESPONSES
status: OK
{"imageId":"Duis ex elit","shape":"nulla mollit","memoryConstraints":{"maxInGBs":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"minInGBs":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}},"ocpuConstraints":{"max":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"min":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}}}