44Show details for an object
55--------------------------
66
7- .. sample :: object_store /v1/objects/get.php
7+ .. sample :: objectstore /v1/objects/get.php
88.. refdoc :: OpenStack/ObjectStore/v1/Models/Container.html#method_getObject
99
1010At this point, the object returned is *empty * because we did not execute a HTTP request to receive the state of the
@@ -26,7 +26,7 @@ of the object's metadata, will not download the object's content. To do this, se
2626Download an object
2727------------------
2828
29- .. sample :: object_store /v1/objects/download.php
29+ .. sample :: objectstore /v1/objects/download.php
3030.. refdoc :: OpenStack/ObjectStore/v1/Models/StorageObject.html#method_download
3131
3232As you will notice, a Stream _ object is returned by this call. For more information about dealing with streams, please
@@ -38,7 +38,7 @@ consult `Guzzle's docs`_.
3838List objects
3939------------
4040
41- .. sample :: object_store /v1/objects/list.php
41+ .. sample :: objectstore /v1/objects/list.php
4242.. refdoc :: OpenStack/ObjectStore/v1/Models/Container.html#method_listObjects
4343
4444When listing objects, you must be aware that not *all * information about a container is returned in a collection.
@@ -61,13 +61,13 @@ Create an object
6161
6262When creating an object, you can upload its content according to a string representation:
6363
64- .. sample :: object_store /v1/objects/create.php
64+ .. sample :: objectstore /v1/objects/create.php
6565.. refdoc :: OpenStack/ObjectStore/v1/Models/Container.html#method_createObject
6666
6767If that is not optimal or convenient, you can use a stream instead. Any instance of ``\Psr\Http\Message\StreamInterface ``
6868is acceptable. For example, to use a normal Guzzle stream:
6969
70- .. sample :: object_store /v1/objects/create_from_stream.php
70+ .. sample :: objectstore /v1/objects/create_from_stream.php
7171
7272Create a large object (over 5GB)
7373--------------------------------
@@ -81,25 +81,25 @@ uploading, this is what happens under the hood:
8181
8282To upload a DLO, you need to call:
8383
84- .. sample :: object_store /v1/objects/create_large_object.php
84+ .. sample :: objectstore /v1/objects/create_large_object.php
8585.. refdoc :: OpenStack/ObjectStore/v1/Models/Container.html#method_createLargeObject
8686
8787Copy object
8888-----------
8989
90- .. sample :: object_store /v1/objects/copy.php
90+ .. sample :: objectstore /v1/objects/copy.php
9191.. refdoc :: OpenStack/ObjectStore/v1/Models/StorageObject.html#method_copy
9292
9393Delete object
9494-------------
9595
96- .. sample :: object_store /v1/objects/delete.php
96+ .. sample :: objectstore /v1/objects/delete.php
9797.. refdoc :: OpenStack/ObjectStore/v1/Models/StorageObject.html#method_delete
9898
9999Get metadata
100100------------
101101
102- .. sample :: object_store /v1/objects/get_metadata.php
102+ .. sample :: objectstore /v1/objects/get_metadata.php
103103.. refdoc :: OpenStack/ObjectStore/v1/Models/StorageObject.html#method_getMetadata
104104
105105The returned value will be a standard associative array, or hash, containing arbitrary key/value pairs. These will
@@ -109,7 +109,7 @@ correspond to the values set either when the object was created, or when a previ
109109Replace all metadata with new values
110110------------------------------------
111111
112- .. sample :: object_store /v1/objects/reset_metadata.php
112+ .. sample :: objectstore /v1/objects/reset_metadata.php
113113.. refdoc :: OpenStack/ObjectStore/v1/Models/StorageObject.html#method_resetMetadata
114114
115115In order to replace all existing metadata with a set of new values, you can use this operation. Any existing metadata
@@ -139,7 +139,7 @@ the metadata of the account will now be:
139139Merge new metadata values with existing
140140---------------------------------------
141141
142- .. sample :: object_store /v1/objects/merge_metadata.php
142+ .. sample :: objectstore /v1/objects/merge_metadata.php
143143.. refdoc :: OpenStack/ObjectStore/v1/Models/StorageObject.html#method_mergeMetadata
144144
145145In order to merge a set of new metadata values with the existing metadata set, you can use this operation. Any existing
0 commit comments