file-storage

List shares

Returns a list of available service shares by given {service_uuid}.

get/1.3/file-storage/{service-uuid}/shares

Request

  • Base URL: https://api.upcloud.com
  • URL: https://api.upcloud.com/1.3/file-storage/{service-uuid}/shares
  • Auth: HTTP bearer

Path parameters

service-uuidstring uuid required

The unique identifier.

Example:17fd43a5-a97e-44f7-98a8-0a787da67069

Service UUID

Response

Success

namestring
pathstring

Example response

[
  {
    "name": "write",
    "path": "/project/data",
    "acl": [
      {
        "name": "test-name",
        "target": "*",
        "permission": "rw"
      }
    ]
  },
  {
    "name": "read",
    "path": "/project/logs",
    "acl": [
      {
        "name": "test-name",
        "target": "192.168.147.0/24",
        "permission": "ro"
      }
    ]
  }
]

Changes

No recorded changes to this operation across all 1 revision of this API.