From 3c82151c4408dbec62d0c54c772e6d13b07e8e58 Mon Sep 17 00:00:00 2001 From: John Dickinson Date: Tue, 7 Aug 2012 16:26:38 -0700 Subject: [PATCH] update object versions docs Change-Id: I00bf2e20c2683d0440ca425461e0ab87197ee720 --- doc/source/overview_object_versioning.rst | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/doc/source/overview_object_versioning.rst b/doc/source/overview_object_versioning.rst index dc184661a3..c9355a9b51 100644 --- a/doc/source/overview_object_versioning.rst +++ b/doc/source/overview_object_versioning.rst @@ -17,7 +17,7 @@ versioning flag turned on), the existing data in the file is redirected to a new object and the data in the ``PUT`` request is saved as the data for the versioned object. The new object name (for the previous version) is ``//``, where ``length`` -is the 2-character zero-padded hexidecimal length of the ```` and +is the 3-character zero-padded hexidecimal length of the ```` and ```` is the timestamp of when the previous version was created. A ``GET`` to a versioned object will return the current version of the object @@ -66,7 +66,7 @@ Now create a new version of that object:: See a listing of the older versions of the object:: curl -i -H "X-Auth-Token: " \ - http:///versions?prefix=myobject/ + http:///versions?prefix=008myobject/ Now delete the current version of the object and see that the older version is gone:: @@ -74,4 +74,4 @@ gone:: curl -i -XDELETE -H "X-Auth-Token: " \ http:///container/myobject curl -i -H "X-Auth-Token: " \ - http:///versions?prefix=myobject/ + http:///versions?prefix=008myobject/