There was a conflict when trying to complete your request. -
- - -Error response codes:404,204,409, - - -Request -------- - -.. rest_parameters:: parameters.yaml - - - account: account - - container: container - - X-Auth-Token: X-Auth-Token - - X-Container-Meta-Temp-URL-Key: X-Container-Meta-Temp-URL-Key - - X-Container-Meta-Temp-URL-Key-2: X-Container-Meta-Temp-URL-Key-2 - - X-Trans-Id-Extra: X-Trans-Id-Extra - - -Response Parameters -------------------- - -.. rest_parameters:: parameters.yaml - - - Date: Date - - X-Timestamp: X-Timestamp - - Content-Length: Content-Length - - Content-Type: Content-Type - - X-Trans-Id: X-Trans-Id - - - - - - diff --git a/api-ref/source/objectstorage/v1/storage-object-services.inc b/api-ref/source/objectstorage/v1/storage-object-services.inc deleted file mode 100644 index e56490f71..000000000 --- a/api-ref/source/objectstorage/v1/storage-object-services.inc +++ /dev/null @@ -1,695 +0,0 @@ -.. -*- rst -*- - -======= -Objects -======= - -Creates, replaces, shows details for, and deletes objects. Copies -objects from another object with a new or different name. Updates -object metadata. - - -Get object content and metadata -=============================== - -.. rest_method:: GET /v1/{account}/{container}/{object} - -Downloads the object content and gets the object metadata. - -This operation returns the object metadata in the response headers -and the object content in the response body. - -If this is a large object, the response body contains the -concatenated content of the segment objects. To get the manifest -instead of concatenated segment objects for a static large object, -use the ``multipart-manifest`` query parameter. - -Example requests and responses: - -- Show object details for the ``goodbye`` object in the - ``marktwain`` container: - - :: - - curl -i $publicURL/marktwain/goodbye -X GET -H "X-Auth-Token: $token" - - - - - :: - - HTTP/1.1 200 OK - Content-Length: 14 - Accept-Ranges: bytes - Last-Modified: Wed, 15 Jan 2014 16:41:49 GMT - Etag: 451e372e48e0f6b1114fa0724aa79fa1 - X-Timestamp: 1389804109.39027 - X-Object-Meta-Orig-Filename: goodbyeworld.txt - Content-Type: application/octet-stream - X-Trans-Id: tx8145a190241f4cf6b05f5-0052d82a34 - Date: Thu, 16 Jan 2014 18:51:32 GMT - Goodbye World! - - -- Show object details for the ``goodbye`` object, which does not - exist, in the ``janeausten`` container: - - :: - - curl -i $publicURL/janeausten/goodbye -X GET -H "X-Auth-Token: $token" - - - - - :: - - HTTP/1.1 404 Not Found - Content-Length: 70 - Content-Type: text/html; charset=UTF-8 - X-Trans-Id: tx073f7cbb850c4c99934b9-0052d82b04 - Date: Thu, 16 Jan 2014 18:55:00 GMT - -The resource could not be found. -
- - - -The operation returns the ``Range Not Satisfiable (416)`` response -code for any ranged GET requests that specify more than: - -- Fifty ranges. - -- Three overlapping ranges. - -- Eight non-increasing ranges. - - -Normal response codes: 200 -Error response codes:416,404, - - -Request -------- - -.. rest_parameters:: parameters.yaml - - - account: account - - object: object - - container: container - - X-Auth-Token: X-Auth-Token - - X-Newest: X-Newest - - temp_url_sig: temp_url_sig - - temp_url_expires: temp_url_expires - - filename: filename - - multipart-manifest: multipart-manifest - - Range: Range - - If-Match: If-Match - - If-None-Match: If-None-Match - - If-Modified-Since: If-Modified-Since - - If-Unmodified-Since: If-Unmodified-Since - - X-Trans-Id-Extra: X-Trans-Id-Extra - - -Response Parameters -------------------- - -.. rest_parameters:: parameters.yaml - - - Content-Length: Content-Length - - X-Object-Meta-name: X-Object-Meta-name - - Content-Disposition: Content-Disposition - - Content-Encoding: Content-Encoding - - X-Delete-At: X-Delete-At - - Accept-Ranges: Accept-Ranges - - X-Object-Manifest: X-Object-Manifest - - Last-Modified: Last-Modified - - ETag: ETag - - X-Timestamp: X-Timestamp - - X-Trans-Id: X-Trans-Id - - Date: Date - - X-Static-Large-Object: X-Static-Large-Object - - Content-Type: Content-Type - - - -Response Example ----------------- - -.. literalinclude:: - :language: javascript - - - - - - -Create or replace object -======================== - -.. rest_method:: PUT /v1/{account}/{container}/{object} - -Creates an object with data content and metadata, or replaces an existing object with data content and metadata. - -The PUT operation always creates an object. If you use this -operation on an existing object, you replace the existing object -and metadata rather than modifying the object. Consequently, this -operation returns the ``Created (201)`` response code. - -If you use this operation to copy a manifest object, the new object -is a normal object and not a copy of the manifest. Instead it is a -concatenation of all the segment objects. This means that you -cannot copy objects larger than 5 GB. - -Example requests and responses: - -- Create object: - - :: - - curl -i $publicURL/janeausten/helloworld.txt -X PUT -H "Content-Length: 1" -H "Content-Type: text/html; charset=UTF-8" -H "X-Auth-Token: $token" - - - - - :: - - HTTP/1.1 201 Created - Last-Modified: Fri, 17 Jan 2014 17:28:35 GMT - Content-Length: 116 - Etag: d41d8cd98f00b204e9800998ecf8427e - Content-Type: text/html; charset=UTF-8 - X-Trans-Id: tx4d5e4f06d357462bb732f-0052d96843 - Date: Fri, 17 Jan 2014 17:28:35 GMT - - -- Replace object: - - :: - - curl -i $publicURL/janeausten/helloworld -X PUT -H "Content-Length: 0" -H "X-Auth-Token: $token" - - - - - :: - - HTTP/1.1 201 Created - Last-Modified: Fri, 17 Jan 2014 17:28:35 GMT - Content-Length: 116 - Etag: d41d8cd98f00b204e9800998ecf8427e - Content-Type: text/html; charset=UTF-8 - X-Trans-Id: tx4d5e4f06d357462bb732f-0052d96843 - Date: Fri, 17 Jan 2014 17:28:35 GMT - - -The ``Created (201)`` response code indicates a successful write. - -If the request times out, the operation returns the ``Request -Timeout (408)`` response code. - -The ``Length Required (411)`` response code indicates a missing -``Transfer-Encoding`` or ``Content-Length`` request header. - -If the MD5 checksum of the data that is written to the object store -does not match the optional ``ETag`` value, the operation returns -the ``Unprocessable Entity (422)`` response code. - -Error response codes:201,422,411,408, - - -Request -------- - -.. rest_parameters:: parameters.yaml - - - account: account - - object: object - - container: container - - multipart-manifest: multipart-manifest - - temp_url_sig: temp_url_sig - - temp_url_expires: temp_url_expires - - filename: filename - - X-Object-Manifest: X-Object-Manifest - - X-Auth-Token: X-Auth-Token - - Content-Length: Content-Length - - Transfer-Encoding: Transfer-Encoding - - Content-Type: Content-Type - - X-Detect-Content-Type: X-Detect-Content-Type - - X-Copy-From: X-Copy-From - - ETag: ETag - - Content-Disposition: Content-Disposition - - Content-Encoding: Content-Encoding - - X-Delete-At: X-Delete-At - - X-Delete-After: X-Delete-After - - X-Object-Meta-name: X-Object-Meta-name - - If-None-Match: If-None-Match - - X-Trans-Id-Extra: X-Trans-Id-Extra - - -Response Parameters -------------------- - -.. rest_parameters:: parameters.yaml - - - Content-Length: Content-Length - - ETag: ETag - - X-Timestamp: X-Timestamp - - X-Trans-Id: X-Trans-Id - - Date: Date - - Content-Type: Content-Type - - last_modified: last_modified - - - - - - - - -Copy object -=========== - -.. rest_method:: COPY /v1/{account}/{container}/{object} - -Copies an object to another object in the object store. - -You can copy an object to a new object with the same name. Copying -to the same name is an alternative to using POST to add metadata to -an object. With POST , you must specify all the metadata. With COPY -, you can add additional metadata to the object. - -With COPY , you can set the ``X-Fresh-Metadata`` header to ``true`` -to copy the object without any existing metadata. - -Alternatively, you can use PUT with the ``X-Copy-From`` request -header to accomplish the same operation as the COPY object -operation. - -The PUT operation always creates an object. If you use this -operation on an existing object, you replace the existing object -and metadata rather than modifying the object. Consequently, this -operation returns the ``Created (201)`` response code. - -If you use this operation to copy a manifest object, the new object -is a normal object and not a copy of the manifest. Instead it is a -concatenation of all the segment objects. This means that you -cannot copy objects larger than 5 GB in size. All metadata is -preserved during the object copy. If you specify metadata on the -request to copy the object, either PUT or COPY , the metadata -overwrites any conflicting keys on the target (new) object. - -Example requests and responses: - -- Copy the ``goodbye`` object from the ``marktwain`` container to - the ``janeausten`` container: - - :: - - curl -i $publicURL/marktwain/goodbye -X COPY -H "X-Auth-Token: $token" -H "Destination: janeausten/goodbye" - - - - - :: - - HTTP/1.1 201 Created - Content-Length: 0 - X-Copied-From-Last-Modified: Thu, 16 Jan 2014 21:19:45 GMT - X-Copied-From: marktwain/goodbye - Last-Modified: Fri, 17 Jan 2014 18:22:57 GMT - Etag: 451e372e48e0f6b1114fa0724aa79fa1 - Content-Type: text/html; charset=UTF-8 - X-Object-Meta-Movie: AmericanPie - X-Trans-Id: txdcb481ad49d24e9a81107-0052d97501 - Date: Fri, 17 Jan 2014 18:22:57 GMT - - -- Alternatively, you can use PUT to copy the ``goodbye`` object from - the ``marktwain`` container to the ``janeausten`` container. This - request requires a ``Content-Length`` header, even if it is set - to zero (0). - - :: - - curl -i $publicURL/janeausten/goodbye -X PUT -H "X-Auth-Token: $token" -H "X-Copy-From: /marktwain/goodbye" -H "Content-Length: 0" - - - - - :: - - HTTP/1.1 201 Created - Content-Length: 0 - X-Copied-From-Last-Modified: Thu, 16 Jan 2014 21:19:45 GMT - X-Copied-From: marktwain/goodbye - Last-Modified: Fri, 17 Jan 2014 18:22:57 GMT - Etag: 451e372e48e0f6b1114fa0724aa79fa1 - Content-Type: text/html; charset=UTF-8 - X-Object-Meta-Movie: AmericanPie - X-Trans-Id: txdcb481ad49d24e9a81107-0052d97501 - Date: Fri, 17 Jan 2014 18:22:57 GMT - - -When several replicas exist, the system copies from the most recent -replica. That is, the COPY operation behaves as though the -``X-Newest`` header is in the request. - -Error response codes:201, - - -Request -------- - -.. rest_parameters:: parameters.yaml - - - account: account - - object: object - - container: container - - X-Auth-Token: X-Auth-Token - - Destination: Destination - - Content-Type: Content-Type - - Content-Encoding: Content-Encoding - - Content-Disposition: Content-Disposition - - X-Object-Meta-name: X-Object-Meta-name - - X-Fresh-Metadata: X-Fresh-Metadata - - X-Trans-Id-Extra: X-Trans-Id-Extra - - -Response Parameters -------------------- - -.. rest_parameters:: parameters.yaml - - - Content-Length: Content-Length - - X-Object-Meta-name: X-Object-Meta-name - - X-Copied-From-Last-Modified: X-Copied-From-Last-Modified - - X-Copied-From: X-Copied-From - - Last-Modified: Last-Modified - - ETag: ETag - - X-Timestamp: X-Timestamp - - X-Trans-Id: X-Trans-Id - - Date: Date - - Content-Type: Content-Type - - - - - -Delete object -============= - -.. rest_method:: DELETE /v1/{account}/{container}/{object} - -Permanently deletes an object from the object store. - -You can use the COPY method to copy the object to a new location. -Then, use the DELETE method to delete the original object. - -Object deletion occurs immediately at request time. Any subsequent -GET , HEAD , POST , or DELETE operations return a ``404 Not Found`` -error code. - -For static large object manifests, you can add the ``?multipart- -manifest=delete`` query parameter. This operation deletes the -segment objects and if all deletions succeed, this operation -deletes the manifest object. - -Example request and response: - -- Delete the ``helloworld`` object from the ``marktwain`` container: - - :: - - curl -i $publicURL/marktwain/helloworld -X DELETE -H "X-Auth-Token: $token" - - - - - :: - - HTTP/1.1 204 No Content - Content-Length: 0 - Content-Type: text/html; charset=UTF-8 - X-Trans-Id: tx36c7606fcd1843f59167c-0052d6fdac - Date: Wed, 15 Jan 2014 21:29:16 GMT - - -Typically, the DELETE operation does not return a response body. -However, with the ``multipart-manifest=delete`` query parameter, -the response body contains a list of manifest and segment objects -and the status of their DELETE operations. - -Error response codes:204, - - -Request -------- - -.. rest_parameters:: parameters.yaml - - - account: account - - object: object - - container: container - - multipart-manifest: multipart-manifest - - X-Auth-Token: X-Auth-Token - - X-Trans-Id-Extra: X-Trans-Id-Extra - - -Response Parameters -------------------- - -.. rest_parameters:: parameters.yaml - - - Date: Date - - X-Timestamp: X-Timestamp - - Content-Length: Content-Length - - Content-Type: Content-Type - - X-Trans-Id: X-Trans-Id - - - - - -Show object metadata -==================== - -.. rest_method:: HEAD /v1/{account}/{container}/{object} - -Shows object metadata. - -If the ``Content-Length`` response header is non-zero, the example -cURL command stalls after it prints the response headers because it -is waiting for a response body. However, the Object Storage system -does not return a response body for the HEAD operation. - -Example requests and responses: - -- Show object metadata: - - :: - - curl -i $publicURL/marktwain/goodbye -X HEAD -H "X-Auth-Token: $token" - - - - - :: - - HTTP/1.1 200 OK - Content-Length: 14 - Accept-Ranges: bytes - Last-Modified: Thu, 16 Jan 2014 21:12:31 GMT - Etag: 451e372e48e0f6b1114fa0724aa79fa1 - X-Timestamp: 1389906751.73463 - X-Object-Meta-Book: GoodbyeColumbus - Content-Type: application/octet-stream - X-Trans-Id: tx37ea34dcd1ed48ca9bc7d-0052d84b6f - Date: Thu, 16 Jan 2014 21:13:19 GMT - - -If the request succeeds, the operation returns the ``200`` response -code. - - -Normal response codes: 200 -Error response codes:204, - - -Request -------- - -.. rest_parameters:: parameters.yaml - - - account: account - - object: object - - container: container - - X-Auth-Token: X-Auth-Token - - temp_url_sig: temp_url_sig - - temp_url_expires: temp_url_expires - - filename: filename - - X-Newest: X-Newest - - X-Trans-Id-Extra: X-Trans-Id-Extra - - -Response Parameters -------------------- - -.. rest_parameters:: parameters.yaml - - - Last-Modified: Last-Modified - - Content-Length: Content-Length - - X-Object-Meta-name: X-Object-Meta-name - - Content-Disposition: Content-Disposition - - Content-Encoding: Content-Encoding - - X-Delete-At: X-Delete-At - - X-Object-Manifest: X-Object-Manifest - - Last-Modified: Last-Modified - - ETag: ETag - - X-Timestamp: X-Timestamp - - X-Trans-Id: X-Trans-Id - - Date: Date - - X-Static-Large-Object: X-Static-Large-Object - - Content-Type: Content-Type - - - -Response Example ----------------- - -.. literalinclude:: - :language: javascript - - - - - -Create or update object metadata -================================ - -.. rest_method:: POST /v1/{account}/{container}/{object} - -Creates or updates object metadata. - -To create or update custom metadata, use the ``X-Object- -Meta-{name}`` header, where ``{name}`` is the name of the metadata -item. - -In addition to the custom metadata, you can update the ``Content- -Type``, ``Content-Encoding``, ``Content-Disposition``, and ``X --Delete-At`` system metadata items. However you cannot update other -system metadata, such as ``Content-Length`` or ``Last-Modified``. - -You can use COPY as an alternate to the POST operation by copying -to the same object. With the POST operation you must specify all -metadata items, whereas with the COPY operation, you need to -specify only changed or additional items. - -All metadata is preserved during the object copy. If you specify -metadata on the request to copy the object, either PUT or COPY , -the metadata overwrites any conflicting keys on the target (new) -object. - -A POST request deletes any existing custom metadata that you added -with a previous PUT or POST request. Consequently, you must specify -all custom metadata in the request. However, system metadata is -unchanged by the POST request unless you explicitly supply it in a -request header. - -You can also set the ``X-Delete-At`` or ``X-Delete-After`` header -to define when to expire the object. - -When used as described in this section, the POST operation creates -or replaces metadata. This form of the operation has no request -body. - -You can also use the `form POST feature -The request is accepted for processing. -
- - - -- Update object metadata: - - :: - - curl -i $publicURL/marktwain/goodbye -X POST -H "X-Auth-Token: $token" H "X-Object-Meta-Book: GoodbyeOldFriend" - - - - - :: - - HTTP/1.1 202 Accepted - Content-Length: 76 - Content-Type: text/html; charset=UTF-8 - X-Trans-Id: tx5ec7ab81cdb34ced887c8-0052d84ca4 - Date: Thu, 16 Jan 2014 21:18:28 GMT - -The request is accepted for processing. -
- - -Error response codes:202, - - -Request -------- - -.. rest_parameters:: parameters.yaml - - - account: account - - object: object - - container: container - - X-Auth-Token: X-Auth-Token - - X-Object-Meta-name: X-Object-Meta-name - - X-Delete-At: X-Delete-At - - Content-Disposition: Content-Disposition - - Content-Encoding: Content-Encoding - - X-Delete-After: X-Delete-After - - Content-Type: Content-Type - - X-Detect-Content-Type: X-Detect-Content-Type - - X-Trans-Id-Extra: X-Trans-Id-Extra - - -Response Parameters -------------------- - -.. rest_parameters:: parameters.yaml - - - Date: Date - - X-Timestamp: X-Timestamp - - Content-Length: Content-Length - - Content-Type: Content-Type - - X-Trans-Id: X-Trans-Id - - - - diff --git a/api-ref/source/objectstorage/v1/storage_endpoints.inc b/api-ref/source/objectstorage/v1/storage_endpoints.inc deleted file mode 100644 index 71d47bfc0..000000000 --- a/api-ref/source/objectstorage/v1/storage_endpoints.inc +++ /dev/null @@ -1,38 +0,0 @@ -.. -*- rst -*- - -========= -Endpoints -========= - -If configured, lists endpoints for an account. - - -List endpoints -============== - -.. rest_method:: GET /v1/endpoints - -Lists endpoints for an object, account, or container. - -When the cloud provider enables middleware to list the -``/endpoints/`` path, software that needs data location information -can use this call to avoid network overhead. The cloud provider can -map the ``/endpoints/`` path to another resource, so this exact -resource might vary from provider to provider. Because it goes -straight to the middleware, the call is not authenticated, so be -sure you have tightly secured the environment and network when -using this call. - -Error response codes:201, - - -Request -------- - -.. rest_parameters:: parameters.yaml - - - - - - diff --git a/api-ref/source/objectstorage/v1/storage_info.inc b/api-ref/source/objectstorage/v1/storage_info.inc deleted file mode 100644 index 60b4082f7..000000000 --- a/api-ref/source/objectstorage/v1/storage_info.inc +++ /dev/null @@ -1,41 +0,0 @@ -.. -*- rst -*- - -=============== -Discoverability -=============== - -If configured, lists the activated capabilities for this version of -the OpenStack Object Storage API. - - -List activated capabilities -=========================== - -.. rest_method:: GET /info - -Lists the activated capabilities for this version of the OpenStack Object Storage API. - - -Normal response codes: 200 -Error response codes: - - -Request -------- - -.. rest_parameters:: parameters.yaml - - - swiftinfo_sig: swiftinfo_sig - - swiftinfo_expires: swiftinfo_expires - - - - -Response Example ----------------- - -.. literalinclude:: samples/capabilities-list-response.json - :language: javascript - - - diff --git a/api-ref/src/docbkx/api-ref-objectstorage-v1.xml b/api-ref/src/docbkx/api-ref-objectstorage-v1.xml deleted file mode 100644 index 6633ed6b5..000000000 --- a/api-ref/src/docbkx/api-ref-objectstorage-v1.xml +++ /dev/null @@ -1,23 +0,0 @@ - -publicURL
. The public URL that is the HTTP
- endpoint from where you can access Object Storage. It includes
- the Object Storage API version number and your account name.
- For example, https://23.253.72.207/v1/my_account
.
- token
. The authentication token for
- Object Storage.
- StorageURL
field, and the token appears in the Auth
- Token
field:
- Range Not Satisfiable (416)
response
- code for any ranged &GET; requests that specify more than:
- POST request body contains | -Description | -
---|---|
- |
-
- |
-
- |
-
- |
-
- |
-
- |
-
- |
-
- |
-
- |
-
- |
-
X-Remove-Account-Meta-*
request header
- for the key with any value is equivalent to specifying the X-Account-Meta-*
- request header with an empty value.
- format
query parameter, set this
- header to application/json
,
- application/xml
, or text/xml
.
- &name;
is the name of
- metadata item that you want to add, update, or delete. To delete
- this item, send an empty value in this header.
- X-Account-Meta-&name;
header for
- each metadata item (for each &name;
) that you want to
- add, update, or delete.
- &name;
is the name of
- metadata item.
- X-Container-Meta-&name;
header
- for each metadata item (for each &name;
) that you
- want to add or update.
- user-agent
setting), in the request response,
- separated by spaces.
- etag
, x-timestamp
,
- x-trans-id
.
- X-Container-Meta-*
for containers and
- X-Object-Meta-*
for objects) headers listed in
- X-Container-Meta-Access-Control-Expose-Headers
.
- X-Container-Read
- header, as follows:
- .r:*
&emdash;All referrers.
- .r:example.com,swift.example.com
&emdash;Comma-separated
- list of referrers.
- .rlistings
&emdash;Container listing access.
- AUTH_username
&emdash;Access to a user
- who authenticates through a legacy or non-OpenStack-Identity-based
- authentication system.
- LDAP_
&emdash;Access to all users who authenticate
- through an LDAP-based legacy or non-OpenStack-Identity-based
- authentication system.
- X-Container-Sync-Key
- header. If you want to stop a container from synchronizing, send a
- blank value for the X-Container-Sync-Key
header.
- Content-Encoding
metadata.
- X-Copy-From
object. The value
- is in form {container}/{object}
. You must
- UTF-8-encode and then URL-encode the names of the container and
- object before you include them in the header.
- X-Copy-From
has the same effect as
- using the © operation to copy an object.
- Range
header with X-Copy-From
- will create a new partial copied object with bytes set by
- Range
.
- /container/object
. You
- must UTF-8-encode and then URL-encode the names of the
- destination container and object before you include them
- in this header.
- true
, Object Storage guesses
- the content type based on the file extension and ignores
- the value sent in the Content-Type
header, if
- present.
- Expect: 100-Continue
, specify an
- "If-None-Match: *"
header to query whether the server
- already has a copy of the object before any data is sent.
- application/directory
.
- Directory marker objects are 0-byte objects that represent
- directories to create a simulated hierarchical structure.
- "X-Container-Meta-Web-Directory-
- Type: text/directory"
, Object Storage treats 0-byte
- objects with a content-type of text/directory
as
- directories rather than objects.
- container/prefix
. You
- must UTF-8-encode and then URL-encode the names of the container
- and prefix before you include them in this header.
- &name;
- is the name of the metadata item.
- X-Object-Meta-&name;
header for
- each metadata &name;
item that you want to add or
- update.
- Range
header to get
- portions of data by using one or more range
- specifications. To specify many ranges, separate the range
- specifications with a comma.
- Range: bytes=-5
. The last
- five bytes.
- Range: bytes=10-15
. The five bytes
- of data after a 10-byte offset.
- Range: bytes=10-15,-5
. A multi-part response
- that contains the last five bytes and the five bytes of
- data after a 10-byte offset. The Content-Type
- response header contains multipart/byteranges
.
- Range: bytes=4-6
. Bytes 4 to 6
- inclusive.
- Range: bytes=2-2
. Byte 2, the third
- byte of the data.
- Range: bytes=6-
. Byte 6 and
- after.
- Range: bytes=1-3,2-5
. A multi-part response
- that contains bytes 1 to 3 inclusive, and bytes 2 to 5
- inclusive. The Content-Type
response header
- contains multipart/byteranges
.
- &name;
- value in the header is the name of the metadata
- item.
- X-Remove-Account-Meta-&name;: arbitrary value
header,
- where &name;
is the name of the metadata item that you
- want to remove. For example, X-Remove-Account-Meta-Book:
- x
. The arbitrary value is ignored.
- X-Remove-Account-Meta-&name;
- header for each metadata &name;
item that you want to
- remove.
- X-Remove-Container-Meta-&name;
header to any
- value to remove the metadata item. The &name;
value
- in the header is the name of the metadata item to remove.
- {name}
. For example,
- X-Remove-Container-Read
removes the
- X-Container-Read
metadata item.
- chunked
to enable chunked transfer encoding.
- If used, do not set the Content-Length
header to a
- non-zero value.
- true
, the © request creates an object
- without existing user metadata.
- false
.
- swiftinfo_expires
parameter is also required.
- json
,
- xml
, or plain
. The default is
- plain
.
- format=xml
or
- format=json
query parameter to the storage account
- URL, the response shows extended container information serialized
- in that format.
- format=plain
query
- parameter, the response lists the container names
- separated by newlines.
- ?multipart-manifest=put
, the object is a static
- large object manifest and the body contains the
- manifest.
- multipart-manifest=get
query
- parameter and the object is a large object, the
- object contents are not returned. Instead, the manifest is
- returned in the X-Object-Manifest
response
- header for dynamic large objects or in the response body
- for static large objects.
- multipart-manifest=delete
query
- parameter and the object is a static large object, the segment
- objects and manifest object are deleted. If you omit the
- multipart-manifest=delete
query parameter and the
- object is a static large object, the manifest object is deleted but the
- segment objects are not deleted.
- Content-Disposition
response header. Browsers can
- interpret this file name value as a file attachment to save. For
- more information about temporary URLs, see Temporary URL middleware.
- &name;
is the
- name of the metadata item.
- X-Account-Meta-&name;
response header appears for
- each metadata item (for each &name;
).
- &name;
- is the name of the metadata item.
- X-Container-Meta-&name;
response header appears
- for each metadata item (for each &name;
).
- Content-Encoding
metadata.
- Content-Length
header value is not the size of the
- response body but is the size of the object, in bytes.
- {container}/{object}
format.
- ETag
request header and
- the operation was successful, the values are the
- same.
- ETag
request
- header, check the ETag
response header value
- against the object content you have just uploaded.
- container/prefix
.
- &name;
is the name of the metadata
- item.
- X-Object-Meta-&name;
response header
- appears for each metadata &name;
item.
- true
if this object is a static
- large object manifest object.
- X-Trans-Id-Extra
- request header to include extra information to help
- you debug any errors that might occur with large object upload and
- other Object Storage transactions.
- X-Trans-Id-Extra
request header value to the
- transaction ID value in the generated X-Trans-Id
- response header. You must UTF-8-encode and then URL-encode the
- extra transaction information before you include it in the
- X-Trans-Id-Extra
request header.
- X-Trans-Id-Extra
- request header. If an error occurs, you can find all requests that
- are related to the large object upload in the Object Storage logs.
- X-Trans-Id-Extra
strings to help
- operators debug requests that fail to receive responses. The
- operator can search for the extra information in the logs.
- /
) character
- because this character delimits the container
- and object name. For example,
- /account/container/object
.
- /endpoints/
path, software that needs data
- location information can use this call to avoid network
- overhead. The cloud provider can map the
- /endpoints/
path to another resource, so this
- exact resource might vary from provider to provider. Because
- it goes straight to the middleware, the call is not
- authenticated, so be sure you have tightly secured the
- environment and network when using this call.
- text/plain
) returns one
- container per line.limit
value. The
- list contains more items if the number of items in the
- returned list equals the limit
- value.OK (200)
. Success. The response
- body lists the containers.
- No Content (204)
. Success. The response
- body shows no containers. Either the account has no
- containers or you are paging through a long list of
- names by using the marker
,
- limit
, or end_marker
query
- parameter and you have reached the end of the list.
- X-Account-Meta-{name}
request header, where
- {name}
is the name of the metadata item.
- X-Account-Meta-Book
- header. If the tool you use to communicate with Object
- Storage, such as an older version of cURL, does not support
- empty headers, send the X-Remove-Account-Meta-{name}
- header with an arbitrary value. For
- example, X-Remove-Account-Meta-Book: x
. The
- operation ignores the arbitrary value.
- No Content (204)
response code.
- Unauthorized
- (401)
response code.
- /info
request.
- OK (200)
. Success. The response
- body lists the objects.
- No Content (204)
. Success. The response
- body shows no objects. Either the container has no
- objects or you are paging through a long list of names
- by using the marker
, limit
,
- or end_marker
query parameter and you
- have reached the end of the list.
- Not Found (404)
response code.
- Range Not Satisfiable (416)
response
- code for any ranged &GET; requests that specify more than:
- X-Container-Meta-{name}
header, where
- {name}
is the name of the metadata item.
- X-Container-Meta-Book
header. If the tool you use to communicate with
- Object Storage, such as an older version of cURL, does not support empty headers,
- send the X-Remove-Container-Meta-{name}
header with an arbitrary value.
- For example, X-Remove-Container-Meta-Book: x
. The operation ignores
- the arbitrary value.
- No Content (204)
response code.
- No Content (204)
response code.
- steven
- container:multipart-manifest
query
- parameter.goodbye
object in the
- marktwain
container:
- goodbye
object, which does
- not exist, in the janeausten
- container:Range Not Satisfiable (416)
response
- code for any ranged &GET; requests that specify more than:
- Created (201)
response code.
- Created (201)
response code indicates a
- successful write.Request Timeout (408)
response
- code.Length Required (411)
response code
- indicates a missing Transfer-Encoding
or
- Content-Length
request header.ETag
value, the operation returns the
- Unprocessable Entity (422)
response
- code.X-Fresh-Metadata
- header to true
to copy the object without any
- existing metadata.
- X-Copy-From
- request header to accomplish the same operation as
- the © object operation.
- Created
- (201)
response code.
- goodbye
object from the
- marktwain
container to the
- janeausten
container:
- goodbye
object from the
- marktwain
container to the
- janeausten
container. This request
- requires a Content-Length
header, even if
- it is set to zero (0).
- X-Newest
header is in the
- request.
- 404 Not Found
error
- code.?multipart-manifest=delete
query
- parameter. This operation deletes the segment objects
- and if all deletions succeed, this operation deletes
- the manifest object.helloworld
object from the
- marktwain
container:
- multipart-manifest=delete
query
- parameter, the response body contains a list of manifest and
- segment objects and the status of their &DELETE; operations.
- Content-Length
response header is non-zero,
- the example cURL command stalls after it prints the response
- headers because it is waiting for a response body. However, the
- Object Storage system does not return a response body for the
- &HEAD; operation.
- 200
response code.
- X-Object-Meta-{name}
header, where
- {name}
is the name of the metadata
- item.Content-Type
,
- Content-Encoding
, Content-Disposition
, and
- X-Delete-At
system metadata items. However you cannot update other
- system metadata, such as Content-Length
or Last-Modified
.
- X-Delete-At
or
- X-Delete-After
header to define when
- to expire the object.