Cloud Enterprise Object Storage REST API

Search (SHIFT+S)




Set Root User Metadata

POST /rest/namespace/path?{metadata/user}

Writes user metadata into the object.

URL Format

/rest/namespace/path?{metadata/user}


Query Parameters

metadata/user

Request Headers

"x-emc-date" required
"x-emc-uid" required
"x-emc-signature" required
"x-emc-utf8" requiredOnly required if metadata values are in Unicode.

Request Payload

No Request Payload


Response Body


XML Example

Request
POST /rest/namespace/photos/mypicture.jpg?metadata/user HTTP/1.1
x-emc-listable-meta: part3=fast
x-emc-meta: part1=order
accept: */*
date: Wed, 18 Feb 2009 16:28:03 GMT
content-type: application/octet-stream
x-emc-date: Wed, 18 Feb 2009 16:28:03 GMT
host: 168.159.116.96
x-emc-uid: 33115732f3b7455d9d2344ddd235f4b9/user1
x-emc-signature: mfz9JwQU+7Wu5T2KFIiNZBetJ4g=
Response
HTTP/1.1 200 OK
Date: Wed, 18 Feb 2009 16:28:03 GMT
Server: Apache
Content-Length: 0
Connection: close
Content-Type: text/plain; charset=UTF-8
x-emc-policy: _int