Skip to content

Latest commit

 

History

History
57 lines (31 loc) · 3.72 KB

File metadata and controls

57 lines (31 loc) · 3.72 KB

Onepanel.WebdavModify

Properties

Name Type Description Notes
type String The type of storage. `type = "webdav"` Storage backend compatible with WebDAV protocol.
endpoint String Full URL of the WebDAV server, including scheme (http or https) and path. [optional]
verifyServerCertificate Boolean Determines whether Oneprovider should verify the certificate of the WebDAV server. [optional]
credentialsType String Determines what credentials will be used to authorize access to the WebDAV storage backend. For public endpoints, select "none". [optional]
credentials String The credentials to authenticate with the WebDAV server. `basic` credentials should be provided in the form `username:password`, for `token` just the token. In case of `oauth2`, this field should contain the username for the WebDAV, while the token will be obtained and refreshed automatically in the background. For `none` this field is ignored. [optional]
oauth2IdP String In case `oauth2` credential type is selected and Onezone is configured with support for multiple external IdP's, this field must contain the name of the IdP which authenticates requests to the WebDAV endpoint. If Onezone has only one external IdP, it will be selected automatically. [optional]
onedataAccessToken String An access token of the Onedata user in whose name IdP access tokens will be acquired. Used only with the `oauth2` credentials type, where it is effectively required - Oneprovider verifies it when the storage is created or modified and then spends it to obtain and refresh access tokens of the IdP indicated by `oauth2IdP`. It is never passed to the WebDAV server. [optional]
authorizationHeader String Header format for passing the API/access token to the backend storage server. The token will be inserted in place of "{}". Use a colon to separate the header name and value, e.g. "X-API-Token: {}". [optional]
rangeWriteSupport String Select the mechanism used for range writes (partial/random-access writes). Since the Onedata filesystem permits partial file modifications, writable supports require a storage backend that implements the selected method. Standard WebDAV does not support range writes and only provides write-once semantics. [optional]
connectionPoolSize Number Defines the maximum number of parallel connections for a single WebDAV storage. [optional]
maximumUploadSize Number Defines the maximum upload size for a single `PUT` or `PATCH` request. If set to 0, assumes that the WebDAV server has no upload limit. [optional]
fileMode String Defines the file permissions, which files imported from WebDAV storage will have in Onedata. Values should be provided in octal format e.g. `0644`. [optional]
dirMode String Defines the directory mode which directories imported from WebDAV storage will have in Onedata. Values should be provided in octal format e.g. `0775`. [optional]

Enum: TypeEnum

  • webdav (value: "webdav")

Enum: CredentialsTypeEnum

  • none (value: "none")

  • basic (value: "basic")

  • token (value: "token")

  • oauth2 (value: "oauth2")

Enum: RangeWriteSupportEnum

  • none (value: "none")

  • moddav (value: "moddav")

  • sabredav (value: "sabredav")