• Object Storage Service

obs
  1. Help Center
  2. Object Storage Service
  3. API Reference (OBS)
  4. Operations on Objects
  5. POST Object restore
  6. Examples

Examples

Sample Request

POST /object?restore HTTP/1.1   
User-Agent: curl/7.19.7 (x86_64-suse-linux-gnu) libcurl/7.19.7 OpenSSL/0.9.8j zlib/1.2.7 libidn/1.10   
Host: bucketname.obs.example.com   
Accept: */*   
Date: Tue, 07 Mar 2017 08:54:09 +0000   
Authorization: AWS UDSIAMSTUBTEST000002:kaEwOixnSVuS6If3Q0Lnd6kxm5A=   
Content-Length: 183   
Expect: 100-continue     
<RestoreRequest xmlns="http://s3.amazonaws.com/doc/2006-3-01">      <Days>3</Days>      
<GlacierJobParameters>         
 <Tier>Expedited</Tier>     
 </GlacierJobParameters>   
</RestoreRequest>

Sample Response

HTTP/1.1 100 Continue   
HTTP/1.1 202 Accepted  
Server: OBS 
x-amz-request-id: 00013235600000015AA7FE74DCAE68RC   
x-amz-id-2: W5NZYb1KhRt+updrvY4OCgmESg7R1lsdR3CMA450Gq2jtrc07YAThUJmV8mPg9D4   x-reserved: amazon, aws and amazon web services are trademarks or registered trademarks of Amazon Technologies, Inc   
Content-Length: 0   
Date: Tue, 07 Mar 2017 08:59:15 GMT