Endpoint

/v2/object-storage/add-uris

POST

Add new object storage URIs and corresponding credentials to the available object storage which points to the location where the system stores object-backed data. If this endpoint is called with URIs or credentials which are already in use, the system ignores them. Although the system does not rebalance data across new URIs, it allocates new space to the least-used URIs.

Parameters

This resource has no parameters.

Request

Schema

{
  "description": "api_object_storage_uris_and_credentials",
  "type": "object",
  "properties": {
    "uris": {
      "type": "array",
      "items": {
        "description": "uris",
        "type": "string"
      }
    },
    "maybe_credentials": {
      "type": "array",
      "items": {
        "description": "maybe_credentials",
        "type": "object",
        "properties": {
          "store_name": {
            "description": "store_name",
            "type": "string"
          },
          "access_key_id": {
            "description": "access_key_id",
            "type": "string"
          },
          "secret_access_key": {
            "description": "secret_access_key",
            "type": "string",
            "format": "password"
          }
        }
      }
    }
  }
}

Response

Codes

Code Description
200 Return value on success