Skip to content

Latest commit

 

History

History
24 lines (15 loc) · 2.12 KB

HTTP.md

File metadata and controls

24 lines (15 loc) · 2.12 KB

Onepanel.HTTP

Properties

Name Type Description Notes
type String The type of storage. `type = "http"` Any HTTP or HTTPS compatible server. Supported only with Readonly option enabled and in manual import mode.
endpoint String Full URL of the HTTP server, including scheme (http or https) and path.
verifyServerCertificate Boolean Determines whether Oneprovider should verify the certificate of the HTTP server. [optional] [default to true]
authorizationHeader String The authorization header to be used for passing the access token. This field can contain any prefix that should be added to the header value. Default is `Authorization: Bearer {}`. The token will placed where `{}` is provided. [optional] [default to 'Authorization: Bearer {}']
connectionPoolSize Number Defines the maximum number of parallel connections for a single HTTP storage. [optional]
maxRequestsPerSession Number Defines the maximum number of requests performed in a single HTTP session. After the limit is reached, 'Connection: close' header is sent to the server. When set to 0 (default), number of requests per session is unlimited, unless imposed by the server. [optional]
fileMode String Defines the file permissions, which files imported from HTTP storage will have in Onedata. Values should be provided in octal format e.g. `0664`. [optional] [default to '0664']
storagePathType String Determines how the logical file paths will be mapped on the storage. 'canonical' paths reflect the logical file names and directory structure, however each rename operation will require renaming the files on the storage. 'flat' paths are based on unique file UUID's and do not require on-storage rename when logical file name is changed. [optional] [default to 'canonical']

Enum: TypeEnum

  • http (value: "http")