EMC ECS REST API

Search (SHIFT+S)




Query File Access Mode Progress

GET /?accessmode

Gets the current access mode and associated information for this bucket. All of the information is returned in the response headers.

URL Format

Host Style: http://bucketname.ns1.emc.com/?accessmode
Path Style: http://ns1.emc.com/bucketname/?accessmode


Prerequisites

The following conditions must be met in order to call this operation.

  • BaseUrl used in a host-style request URL should be pre-configured using the ECS Management API or the ECS Portal (for example, emc.com in the URL: bucketname.ns1.emc.com).

  • Namespace and bucket corresponding to this object should exist.


Response Headers

x-emc-file-access-mode alwaysIndicates the access mode the system is currently enforcing on the objects in the bucket.
x-emc-file-access-duration optionalIndicates the time after which the file access mode will fall back to being default unless it is renewed with another PUT request.
x-emc-file-access-host-list optionalComma-separated list of hosts or subnets which will be allowed to mount the file system.
x-emc-file-access-uid alwaysUser ID that will have access to the objects.
x-emc-file-access-start-token optionalCan be saved and used by the client in future requests to identify the objects that will be affected by the current operation.
x-emc-file-access-end-token optionalCan be saved and used by the client in future requests to identify the objects that will be affected by the current operation.

Response Body

Response indicating Success or Failure for this operation