Cloud Enterprise Object Storage REST API

Search (SHIFT+S)




Set User Metadata

POST /rest/objects/objectID?{metadata/user}

Writes user metadata into the object.

URL Format

/rest/objects/objectID?{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/objects/4ef49feaa106904c04ef4a066e778104f071a5ff0c85?metadata/user HTTP/1.1
x-emc-listable-meta:
%CF%80%CE%B5%CF%81%CE%B9%CE%BF%CF%87%CE%AE=%CE%B2%CF%8C%CF%81%CE%B5
%CE%B9%CE%B1
x-emc-meta:
%CF%87%CF%81%CF%8E%CE%BC%CE%B1=%CE%BC%CF%80%CE%BB%CE%B5,%CE%BC%CE%A
D%CE%B3%CE%B5%CE%B8%CE%BF%CF%82=%CE%BC%CE%B9%CE%BA%CF%81%CF%8C
accept: */*
date: Fri, 06 Jan 2012 16:41:23 GMT content-type: application/octet-stream x-emc-date: Fri, 06 Jan 2012 16:41:23 GMT x-emc-utf8: true
host: 127.0.0.1
x-emc-uid: 071464e3e8fb4cce8609a623fd9df025/user1 x-emc-signature: x2IhX/4lVPXf4cDTazu2ZDS+In8= StringToSign
Response
POST
application/octet-stream
Fri, 06 Jan 2012 16:41:23 GMT
/rest/objects/4ef49feaa106904c04ef4a066e778104f071a5ff0c85?metadata/us
er
x-emc-date:Fri, 06 Jan 2012 16:41:23 GMT
x-emc-listable-meta:%CF%80%CE%B5%CF%81%CE%B9%CE%BF%CF%87%CE%AE=%CE%B2%
CF%8C%CF%81%CE%B5%CE%B9%CE%B1
x-emc-meta:%CF%87%CF%81%CF%8E%CE%BC%CE%B1=%CE%BC%CF%80%CE%BB%CE%B5,%CE
%BC%CE%AD%CE%B3%CE%B5%CE%B8%CE%BF%CF%82=%CE%BC%CE%B9%CE%BA%CF%81%CF
%8C
x-emc-uid:071464e3e8fb4cce8609a623fd9df025/user1
x-emc-utf8:true