Cloud Enterprise Object Storage REST API

Search (SHIFT+S)




Create Pure Object

POST /rest/objects

Create object using the object interface.

URL Format

/rest/objects

Request Headers

"Content-Length" required
"x-emc-date" required
"x-emc-uid" required
"x-emc-signature" required
"x-emc-utf8" requiredOnly required if metadata values are in Unicode.
"x-emc-wschecksum" requiredRequired if the application must conform to SEC 17a-4f standards.
"x-emc-listable-meta" optionalor "x-emc-meta"
"x-emc-groupacl" optionalor "x-emc-useracl"

Prerequisites

The following conditions must be met in order to call this operation.

  • User must be a Namespace Admin


Request Payload

No Request Payload


Response Body


XML Example

Request
> POST /rest/objects HTTP/1.1
> Host: 192.168.0.0:9022
> User-Agent: curl/7.43.0
> Accept: */*
> Content-Type:text/plain
> x-emc-date:Tue, 21 Feb 2017 00:38:23 GMT
> x-emc-uid:b078f1e44dbc424dbe93fc000c527d5a/atmos_usr
> x-emc-signature:ue8b3V3i7MPQdHQ31ioaDofSMfw=
> Content-Length: 0
Response
< HTTP/1.1 201 Created
< Date: Tue, 21 Feb 2017 00:38:33 GMT
< x-emc-policy: default
< x-emc-request-id: 0af9f566:15a43dc3b15:16ac1:10
< x-emc-delta: 0
< Location: /rest/objects/4bdaef50b24bbf7e37f54aaf059195d80ff217354fdb52ec89c8808e4dcb2935-f8ca6177-3d32-4692-91f6-60d902745d3d
< x-emc-mtime: 1487637513490
< Content-Length: 0
< Server: ViPR/1.0