Skip to content

Latest commit

 

History

History
26 lines (17 loc) · 3.17 KB

File metadata and controls

26 lines (17 loc) · 3.17 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 Base URL of the HTTP server, including scheme (`http` or `https`) and optional path prefix. When registering files by relative path in `storageFileId`, that path is appended to this URL. Note: A full URI supplied as `storageFileId` always takes precedence and bypasses this endpoint, allowing files from any HTTP server reachable by the Oneprovider to be registered.
verifyServerCertificate Boolean Determines whether Oneprovider should verify the certificate of the HTTP server. [optional] [default to true]
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] [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]
emulateRangeRead Boolean Enables fallback emulation of range reads for HTTP servers that do not support the `Range` header. When active, the full file content is downloaded and only the requested byte range is returned to the caller. Has no effect on servers that support range reads natively. Warning: Emulation causes significant performance degradation and increased memory usage; enable only as a last resort. [optional] [default to false]
maxEmulatedRangeReadFileSize Number Maximum file size in bytes eligible for emulated range reads. Files exceeding this limit cannot be accessed from servers that lack native range read support. Has no effect unless `emulateRangeRead` is `true`. [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")