Get Root Object Info
GET /rest/namespace/path/file?{info}
Returns details about the replicas for an object. Performing this operation on a directory
returns error code 1022 because directories do not have storage.
URL Format
/rest/namespace/path/file?{info}
Query Parameters
Request Headers
"x-emc-date" | required | |
"x-emc-uid" | required | |
"x-emc-signature" | required | |
Response Body
Field |
Description |
Type |
Notes |
GetObjectInfoResponse |
|
|
|
objectId |
|
String |
|
expiration |
|
|
|
enabled |
|
Boolean |
|
endAt |
|
String |
|
retention |
|
|
|
enabled |
|
Boolean |
|
endAt |
|
String |
|
XML Example
Request
> GET /rest/namespace/bucket/file.txt?info 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 18:00:03 GMT
> x-emc-uid:b078f1e44dbc424dbe93fc000c527d5a/atmos_usr
> x-emc-signature:FKwTIREQMIhurv5MXLEUAEGKqv8=
Response
< HTTP/1.1 200 OK
< Date: Tue, 21 Feb 2017 18:00:03 GMT
< x-emc-policy: default
< x-emc-request-id: 0af9f566:15a43dc3b15:195e7:0
< Content-Type: application/xml
< Content-Length: 256
< Server: ViPR/1.0