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

KeyDatatypeRequiredDescription
Content-Typestring
Datestring(Required) Current Date
Authorizationstring(Required) Signature Authentication on Authorization header
x-content-sha256string(Required) Content sha256 for POST, PUT and PATCH operations

RESPONSES

status: OK

{&quot;imageId&quot;:&quot;Duis ex elit&quot;,&quot;shape&quot;:&quot;nulla mollit&quot;,&quot;memoryConstraints&quot;:{&quot;maxInGBs&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},&quot;minInGBs&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;}},&quot;ocpuConstraints&quot;:{&quot;max&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},&quot;min&quot;:{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;}}}