Upload Image

POST {{base_url}}/v1/adp/images

Container image upload is a two stage process. Hence Please follow ADP documentation for second stage upload instructions.

Any md5 hash generator can be used to generate md5 hash for image file and use the generated value for md5 attribute in request.

For example:

md5: 96e625dfed222073491b5fee2fbf5eb9

Request Body

{"img_name"=>"bCFwSIEDF7yHWH3odFq2gJPmoRpbU1", "md5"=>"60DDfddAE14947bb98d9a2642db5F16a", "img_type"=>"RUNS_ON_COLLECTOR", "version"=>"<integer>"}

HEADERS

KeyDatatypeRequiredDescription
Content-Typestring
Acceptstring

RESPONSES

status: OK

{&quot;Content-MD5&quot;:&quot;\u003cstring\u003e&quot;,&quot;Content-Type&quot;:&quot;\u003cstring\u003e&quot;,&quot;key&quot;:&quot;\u003cstring\u003e&quot;,&quot;policy&quot;:&quot;\u003cstring\u003e&quot;,&quot;postDestination&quot;:&quot;\u003cstring\u003e&quot;,&quot;success_action_status&quot;:&quot;\u003cstring\u003e&quot;,&quot;uuid&quot;:&quot;\u003cstring\u003e&quot;,&quot;x-amz-algorithm&quot;:&quot;\u003cstring\u003e&quot;,&quot;x-amz-credential&quot;:&quot;\u003cstring\u003e&quot;,&quot;x-amz-date&quot;:&quot;\u003cstring\u003e&quot;,&quot;x-amz-meta-tag&quot;:&quot;\u003cstring\u003e&quot;,&quot;x-amz-meta-uuid&quot;:&quot;\u003cstring\u003e&quot;,&quot;x-amz-signature&quot;:&quot;\u003cstring\u003e&quot;}