Download OpenAPI specification:
This document specifies all operations supported by SAP HANA Cloud, Data Lake Files.
Get list of policies.
| X-SAP-FileContainer required | string Example: 12d34ec6-6b72-4a18-ba0d-e04d62d125f4 This header is used to define which File Container the request should target. Any request is always in the context of one File Container. |
| X-Request-ID | string Example: 5966e186-fbd9-4507-a2e7-d130da18ca1e This header is used to assign an ID to the request, which is expected to uniquely identify it. The ID can contain only letters (a-z, A-Z), numbers, the whitespace character, and the following special characters |
| X-Correlation-ID | string This header is used to assign a correlation ID to the request, which is expected to be used to identify a series of related HTTP requests, or a chain of events. The ID can contain only letters (a-z, A-Z), numbers, the whitespace character, and the following special characters |
{- "schemas": [
- {
- "id": "019a920c-ba10-7be5-8abb-c8004402736a",
- "status": "ACTIVE",
- "name": "policy1",
- "resources": [
- "path:/my/path"
], - "subjects": [
- "user:bob"
], - "privileges": [
- "browse"
], - "constraints": [ ],
- "createdAt": 1698777740917,
- "type": "deny"
}, - {
- "id": "b50e6be0-a8bf-4c6c-b329-b53b8060a627",
- "status": "NOT_PROCESSED",
- "name": "policy2",
- "resources": [
- "path:/my/path",
- "path:/my/second/path"
], - "subjects": [
- "role:marketing"
], - "privileges": [
- "browse",
- "open"
], - "constraints": [ ],
- "createdAt": 1698777740917,
- "type": "allow"
}
]
}Get a policy.
| policyName required | string Policy name. |
| X-SAP-FileContainer required | string Example: 12d34ec6-6b72-4a18-ba0d-e04d62d125f4 This header is used to define which File Container the request should target. Any request is always in the context of one File Container. |
| X-Request-ID | string Example: 5966e186-fbd9-4507-a2e7-d130da18ca1e This header is used to assign an ID to the request, which is expected to uniquely identify it. The ID can contain only letters (a-z, A-Z), numbers, the whitespace character, and the following special characters |
| X-Correlation-ID | string This header is used to assign a correlation ID to the request, which is expected to be used to identify a series of related HTTP requests, or a chain of events. The ID can contain only letters (a-z, A-Z), numbers, the whitespace character, and the following special characters |
[- {
- "id": "019a920c-ba10-7be5-8abb-c8004402736a",
- "status": "ACTIVE",
- "name": "policy1",
- "resources": [
- "path:/path1"
], - "subjects": [
- "user:bob"
], - "privileges": [
- "browse"
], - "constraints": [ ],
- "createdAt": 1698777740917,
- "type": "deny"
}
]Create or update a policy.
Note: Each policy has a limit of 8 resources, 8 subjects and 8 constraints. The following are the maximum limit to the number of policy rules:
Static Server Policies: 128
Dynamic Policies: 32
| policyName required | string Policy name. |
| X-SAP-FileContainer required | string Example: 12d34ec6-6b72-4a18-ba0d-e04d62d125f4 This header is used to define which File Container the request should target. Any request is always in the context of one File Container. |
| X-Request-ID | string Example: 5966e186-fbd9-4507-a2e7-d130da18ca1e This header is used to assign an ID to the request, which is expected to uniquely identify it. The ID can contain only letters (a-z, A-Z), numbers, the whitespace character, and the following special characters |
| X-Correlation-ID | string This header is used to assign a correlation ID to the request, which is expected to be used to identify a series of related HTTP requests, or a chain of events. The ID can contain only letters (a-z, A-Z), numbers, the whitespace character, and the following special characters |
Policy resources, subjects and privileges.
| name | string If present, it should match the URL parameter policyName. |
| resources required | Array of strings Resources can be of type |
| subjects required | Array of strings Subjects can be of type |
| privileges required | Array of strings (Privileges) Items Enum: "browse" "open" "connect" "create" "append" "rename" "delete" "restore" |
Array of objects (Constraint) | |
| createdAt | integer |
| type | string (PolicyType) Enum: "allow" "deny" Used to define the policy type. |
A policy of type path:/my/prefix will be applied to /my/prefix. It will also act on objects created inside the prefix, for example /my/prefix/object1 and /my/prefix/inner/object2. The end slash of a prefix is ignored.
{- "resources": [
- "path:/my/prefix"
], - "subjects": [
- "user:bob"
], - "privileges": [
- "browse",
- "open"
]
}{- "operationSequenceId": "0198a63d-687e-7465-ab13-dba03ec78143"
}Delete a policy.
| policyName required | string Policy name. |
| X-SAP-FileContainer required | string Example: 12d34ec6-6b72-4a18-ba0d-e04d62d125f4 This header is used to define which File Container the request should target. Any request is always in the context of one File Container. |
| X-Request-ID | string Example: 5966e186-fbd9-4507-a2e7-d130da18ca1e This header is used to assign an ID to the request, which is expected to uniquely identify it. The ID can contain only letters (a-z, A-Z), numbers, the whitespace character, and the following special characters |
| X-Correlation-ID | string This header is used to assign a correlation ID to the request, which is expected to be used to identify a series of related HTTP requests, or a chain of events. The ID can contain only letters (a-z, A-Z), numbers, the whitespace character, and the following special characters |
{- "operationSequenceId": "0198a63e-da15-7c3a-81a2-36e3fcc9e900"
}Get the status of the policies operations.
| X-SAP-FileContainer required | string Example: 12d34ec6-6b72-4a18-ba0d-e04d62d125f4 This header is used to define which File Container the request should target. Any request is always in the context of one File Container. |
| X-Request-ID | string Example: 5966e186-fbd9-4507-a2e7-d130da18ca1e This header is used to assign an ID to the request, which is expected to uniquely identify it. The ID can contain only letters (a-z, A-Z), numbers, the whitespace character, and the following special characters |
| X-Correlation-ID | string This header is used to assign a correlation ID to the request, which is expected to be used to identify a series of related HTTP requests, or a chain of events. The ID can contain only letters (a-z, A-Z), numbers, the whitespace character, and the following special characters |
{- "lastOperationSequenceId": "0198a63e-da15-7c3a-81a2-36e3fcc9e900",
- "lastProcessedOperationSequenceId": "0198a63d-3ffa-7390-a056-b479223ac103"
}Get list of trusts.
| X-SAP-FileContainer required | string Example: 12d34ec6-6b72-4a18-ba0d-e04d62d125f4 This header is used to define which File Container the request should target. Any request is always in the context of one File Container. |
| X-Request-ID | string Example: 5966e186-fbd9-4507-a2e7-d130da18ca1e This header is used to assign an ID to the request, which is expected to uniquely identify it. The ID can contain only letters (a-z, A-Z), numbers, the whitespace character, and the following special characters |
| X-Correlation-ID | string This header is used to assign a correlation ID to the request, which is expected to be used to identify a series of related HTTP requests, or a chain of events. The ID can contain only letters (a-z, A-Z), numbers, the whitespace character, and the following special characters |
[- {
- "name": "sap-ias-tenant-trust",
- "type": "OIDC",
- "createdAt": 1742928404234,
- "properties": {
- "audiences": [
- "dbc1e595-e5db-4de6-b234-8efb0c140da3"
]
}
}, - {
- "name": "microsoft-eid-tenant-trust",
- "type": "OIDC",
- "createdAt": 1742928404234,
- "properties": {
- "audiences": [
- "12345678-1234-1234-1234-1234567890ab"
]
}
}
]Get a trust.
| trustName required | string Trust name. |
| X-SAP-FileContainer required | string Example: 12d34ec6-6b72-4a18-ba0d-e04d62d125f4 This header is used to define which File Container the request should target. Any request is always in the context of one File Container. |
| X-Request-ID | string Example: 5966e186-fbd9-4507-a2e7-d130da18ca1e This header is used to assign an ID to the request, which is expected to uniquely identify it. The ID can contain only letters (a-z, A-Z), numbers, the whitespace character, and the following special characters |
| X-Correlation-ID | string This header is used to assign a correlation ID to the request, which is expected to be used to identify a series of related HTTP requests, or a chain of events. The ID can contain only letters (a-z, A-Z), numbers, the whitespace character, and the following special characters |
{- "name": "sap-ias-tenant-trust",
- "type": "OIDC",
- "createdAt": 1742928404234,
- "properties": {
- "audiences": [
- "dbc1e595-e5db-4de6-b234-8efb0c140da3"
]
}
}Create or update a trust.
| trustName required | string Trust name. |
| X-SAP-FileContainer required | string Example: 12d34ec6-6b72-4a18-ba0d-e04d62d125f4 This header is used to define which File Container the request should target. Any request is always in the context of one File Container. |
| X-Request-ID | string Example: 5966e186-fbd9-4507-a2e7-d130da18ca1e This header is used to assign an ID to the request, which is expected to uniquely identify it. The ID can contain only letters (a-z, A-Z), numbers, the whitespace character, and the following special characters |
| X-Correlation-ID | string This header is used to assign a correlation ID to the request, which is expected to be used to identify a series of related HTTP requests, or a chain of events. The ID can contain only letters (a-z, A-Z), numbers, the whitespace character, and the following special characters |
Trust name, type and properties.
| name | string |
| type required | string |
object |
{- "name": "sap-ias-tenant-trust",
- "type": "OIDC",
- "properties": {
- "audiences": [
- "dbc1e595-e5db-4de6-b234-8efb0c140da3"
]
}
}{- "exception": "string",
- "javaClassName": "string",
- "message": "string",
- "requestId": "string",
- "timestamp": "string"
}Delete a trust.
| trustName required | string Trust name. |
| X-SAP-FileContainer required | string Example: 12d34ec6-6b72-4a18-ba0d-e04d62d125f4 This header is used to define which File Container the request should target. Any request is always in the context of one File Container. |
| X-Request-ID | string Example: 5966e186-fbd9-4507-a2e7-d130da18ca1e This header is used to assign an ID to the request, which is expected to uniquely identify it. The ID can contain only letters (a-z, A-Z), numbers, the whitespace character, and the following special characters |
| X-Correlation-ID | string This header is used to assign a correlation ID to the request, which is expected to be used to identify a series of related HTTP requests, or a chain of events. The ID can contain only letters (a-z, A-Z), numbers, the whitespace character, and the following special characters |
{- "exception": "string",
- "javaClassName": "string",
- "message": "string",
- "requestId": "string",
- "timestamp": "string"
}Read the content of a file. The parameters length and offset control the size to read and starting position, respectively.
Note: Please note the response can be a temporary redirection to a different endpoint.
| path required | string <path/to/file> The absolute path to a file. |
| offset | integer <int64> The starting byte position. If not specified, it will be set to the beginning of the file. Example: |
| length | integer <int64> The number of bytes to be processed. If not specified, it will read until the end of the file is reached. Example: |
| noredirect | boolean Default: false If this is set to true, even when the response is a temporary redirect, it will have HTTP status 200 OK and the redirection location will be in the response body. |
| X-SAP-FileContainer required | string This is the only REQUIRED header. This header is used to define which File Container the request should target. Any request is always in the context of one File Container. |
| X-Request-ID | string Example: 5966e186-fbd9-4507-a2e7-d130da18ca1e This header is used to assign an ID to the request, which is expected to uniquely identify it. The ID can contain only letters (a-z, A-Z), numbers, the whitespace character, and the following special characters |
| X-Correlation-ID | string This header is used to assign a correlation ID to the request, which is expected to be used to identify a series of related HTTP requests, or a chain of events. The ID can contain only letters (a-z, A-Z), numbers, the whitespace character, and the following special characters |
| X-SAP-Trusted-User | string This header is an optional header and requires the impersonate privilege in order to use it. This header allows you to set the user context of the request, making all outcomes of the request traceable back to the specified user.
Note that if NOT used in conjunction with |
| X-SAP-Trusted-User-Encoding | string Enum: "ascii" "b64-utf-8" This header is optional and is only used in conjunction with |
| X-SAP-Trusted-User-Roles | string This header is optional, requires the authorize privilege in order to use, and must be used in conjunction with |
| X-SAP-Accept-Direct-Access | boolean If direct access is available, the data will be transferred without going through HDL Files. If not available, the operation will fall back to the default mode. |
| X-SAP-Expect-Direct-Access | boolean Direct Access is a requirement. If direct access is available, the data will be transferred without going through HDL Files. If not available, the request will fail. |
Check if the current user has access to a given path, based on the configured access policies.
| path required | string <path/to/file OR path/to/directory/> The absolute path of a file or directory. |
| fsaction | string The action to check. The action must follow the format |
| X-SAP-FileContainer required | string This is the only REQUIRED header. This header is used to define which File Container the request should target. Any request is always in the context of one File Container. |
| X-Request-ID | string Example: 5966e186-fbd9-4507-a2e7-d130da18ca1e This header is used to assign an ID to the request, which is expected to uniquely identify it. The ID can contain only letters (a-z, A-Z), numbers, the whitespace character, and the following special characters |
| X-Correlation-ID | string This header is used to assign a correlation ID to the request, which is expected to be used to identify a series of related HTTP requests, or a chain of events. The ID can contain only letters (a-z, A-Z), numbers, the whitespace character, and the following special characters |
| X-SAP-Trusted-User | string This header is an optional header and requires the impersonate privilege in order to use it. This header allows you to set the user context of the request, making all outcomes of the request traceable back to the specified user.
Note that if NOT used in conjunction with |
| X-SAP-Trusted-User-Encoding | string Enum: "ascii" "b64-utf-8" This header is optional and is only used in conjunction with |
| X-SAP-Trusted-User-Roles | string This header is optional, requires the authorize privilege in order to use, and must be used in conjunction with |
{- "boolean": true
}Return the Access Policies JSON document. This document controls the access policies of the File Container.
| path | string <path/to/prefix> The absolute path of a prefix within the File Container. If specified, the Access Policies JSON document will be filtered to contain only the rules that start with the specified path. Note that the dynamic values %USER% and %ROLE% are only resolved if the "user" and "role" parameters are present, respectively. |
| user | string The name of any user to review access policies for. If this parameter is provided, the dynamic value %USER% will be resolved. |
| roles | string The name of any role(s) to consider when reviewing policies. If this parameter is provided, the dynamic value %ROLE% will be resolved. |
| X-SAP-FileContainer required | string This is the only REQUIRED header. This header is used to define which File Container the request should target. Any request is always in the context of one File Container. |
| X-Request-ID | string Example: 5966e186-fbd9-4507-a2e7-d130da18ca1e This header is used to assign an ID to the request, which is expected to uniquely identify it. The ID can contain only letters (a-z, A-Z), numbers, the whitespace character, and the following special characters |
| X-Correlation-ID | string This header is used to assign a correlation ID to the request, which is expected to be used to identify a series of related HTTP requests, or a chain of events. The ID can contain only letters (a-z, A-Z), numbers, the whitespace character, and the following special characters |
| X-SAP-Trusted-User | string This header is an optional header and requires the impersonate privilege in order to use it. This header allows you to set the user context of the request, making all outcomes of the request traceable back to the specified user.
Note that if NOT used in conjunction with |
| X-SAP-Trusted-User-Encoding | string Enum: "ascii" "b64-utf-8" This header is optional and is only used in conjunction with |
| X-SAP-Trusted-User-Roles | string This header is optional, requires the authorize privilege in order to use, and must be used in conjunction with |
{- "AccessPolicies": [
- {
- "path": "/example/path/prefix",
- "entries": [
- "user:alice:r--",
- "user:bob:rw-"
]
}, - {
- "path": "/user/bob",
- "entries": [
- "user::r--",
- "user:bob:rw-"
], - "origin": {
- "path": "/user/%USER%",
- "entries": [
- "user::r--",
- "user:%USER%:rw-"
]
}
}, - {
- "path": "/role/%ROLE%",
- "entries": [
- "role::r--",
- "role:%ROLE%:rw-"
]
}
]
}Get the status of an async operation.
| token required | string The token of the async operation whose state is being queried. Example: |
| X-SAP-FileContainer required | string This is the only REQUIRED header. This header is used to define which File Container the request should target. Any request is always in the context of one File Container. |
| X-Request-ID | string Example: 5966e186-fbd9-4507-a2e7-d130da18ca1e This header is used to assign an ID to the request, which is expected to uniquely identify it. The ID can contain only letters (a-z, A-Z), numbers, the whitespace character, and the following special characters |
| X-Correlation-ID | string This header is used to assign a correlation ID to the request, which is expected to be used to identify a series of related HTTP requests, or a chain of events. The ID can contain only letters (a-z, A-Z), numbers, the whitespace character, and the following special characters |
| X-SAP-Trusted-User | string This header is an optional header and requires the impersonate privilege in order to use it. This header allows you to set the user context of the request, making all outcomes of the request traceable back to the specified user.
Note that if NOT used in conjunction with |
| X-SAP-Trusted-User-Encoding | string Enum: "ascii" "b64-utf-8" This header is optional and is only used in conjunction with |
| X-SAP-Trusted-User-Roles | string This header is optional, requires the authorize privilege in order to use, and must be used in conjunction with |
{- "State": "DONE",
- "Operation": "DELETE_BATCH",
- "Context": {
- "path": "/"
}, - "SuccessfulResponse": {
- "boolean": true
}
}Get the status of an active restore process.
| token required | string The token of the restore process whose state is being queried. Example: |
| X-SAP-FileContainer required | string This is the only REQUIRED header. This header is used to define which File Container the request should target. Any request is always in the context of one File Container. |
| X-Request-ID | string Example: 5966e186-fbd9-4507-a2e7-d130da18ca1e This header is used to assign an ID to the request, which is expected to uniquely identify it. The ID can contain only letters (a-z, A-Z), numbers, the whitespace character, and the following special characters |
| X-Correlation-ID | string This header is used to assign a correlation ID to the request, which is expected to be used to identify a series of related HTTP requests, or a chain of events. The ID can contain only letters (a-z, A-Z), numbers, the whitespace character, and the following special characters |
| X-SAP-Trusted-User | string This header is an optional header and requires the impersonate privilege in order to use it. This header allows you to set the user context of the request, making all outcomes of the request traceable back to the specified user.
Note that if NOT used in conjunction with |
| X-SAP-Trusted-User-Encoding | string Enum: "ascii" "b64-utf-8" This header is optional and is only used in conjunction with |
| X-SAP-Trusted-User-Roles | string This header is optional, requires the authorize privilege in order to use, and must be used in conjunction with |
{- "Status": "DONE"
}Get the status of a file or directory given by the path parameter.
| path required | string <path/to/file OR path/to/directory/> The absolute path of a file or directory. |
| X-SAP-FileContainer required | string This is the only REQUIRED header. This header is used to define which File Container the request should target. Any request is always in the context of one File Container. |
| X-Request-ID | string Example: 5966e186-fbd9-4507-a2e7-d130da18ca1e This header is used to assign an ID to the request, which is expected to uniquely identify it. The ID can contain only letters (a-z, A-Z), numbers, the whitespace character, and the following special characters |
| X-Correlation-ID | string This header is used to assign a correlation ID to the request, which is expected to be used to identify a series of related HTTP requests, or a chain of events. The ID can contain only letters (a-z, A-Z), numbers, the whitespace character, and the following special characters |
| X-SAP-Trusted-User | string This header is an optional header and requires the impersonate privilege in order to use it. This header allows you to set the user context of the request, making all outcomes of the request traceable back to the specified user.
Note that if NOT used in conjunction with |
| X-SAP-Trusted-User-Encoding | string Enum: "ascii" "b64-utf-8" This header is optional and is only used in conjunction with |
| X-SAP-Trusted-User-Roles | string This header is optional, requires the authorize privilege in order to use, and must be used in conjunction with |
{- "FileStatus": {
- "pathSuffix": "some-file.txt",
- "type": "FILE",
- "length": 37454432,
- "owner": "someuser",
- "group": "somegroup",
- "permission": "666",
- "accessTime": 0,
- "modificationTime": 1557935488000,
- "blockSize": 33554432,
- "replication": 1,
- "eTag": "RVRhZy1FeGFtcGxlCg=="
}
}List the status of a file or contents of a directory given by the path parameter.
| path required | string <path/to/file OR path/to/directory/> The absolute path of a file or directory. |
| X-SAP-FileContainer required | string This is the only REQUIRED header. This header is used to define which File Container the request should target. Any request is always in the context of one File Container. |
| X-Request-ID | string Example: 5966e186-fbd9-4507-a2e7-d130da18ca1e This header is used to assign an ID to the request, which is expected to uniquely identify it. The ID can contain only letters (a-z, A-Z), numbers, the whitespace character, and the following special characters |
| X-Correlation-ID | string This header is used to assign a correlation ID to the request, which is expected to be used to identify a series of related HTTP requests, or a chain of events. The ID can contain only letters (a-z, A-Z), numbers, the whitespace character, and the following special characters |
| X-SAP-Trusted-User | string This header is an optional header and requires the impersonate privilege in order to use it. This header allows you to set the user context of the request, making all outcomes of the request traceable back to the specified user.
Note that if NOT used in conjunction with |
| X-SAP-Trusted-User-Encoding | string Enum: "ascii" "b64-utf-8" This header is optional and is only used in conjunction with |
| X-SAP-Trusted-User-Roles | string This header is optional, requires the authorize privilege in order to use, and must be used in conjunction with |
{- "FileStatuses": {
- "FileStatus": [
- {
- "accessTime": 1320171722771,
- "blockSize": 33554432,
- "group": "somegroup",
- "length": 3854432,
- "modificationTime": 1320171722771,
- "owner": "someuser",
- "pathSuffix": "a.patch",
- "permission": "666",
- "replication": 1,
- "type": "FILE",
- "eTag": "RVRhZy1FeGFtcGxlCg=="
}, - {
- "accessTime": 0,
- "blockSize": 0,
- "group": "somegroup",
- "length": 0,
- "modificationTime": 1320895981256,
- "owner": "someuser",
- "pathSuffix": "dir001",
- "permission": "777",
- "replication": 0,
- "type": "DIRECTORY",
- "eTag": "RVRhZy1FeGFtcGxlCg=="
}
]
}
}List the contents of a directory given by the path parameter.
| path required | string <path/to/file OR path/to/directory/> The absolute path of a file or directory. |
| startAfter | string <opaque-token> The ID of the last listed page. If omitted, the first page is returned. The ID of the page is returned in the pageId field. |
| X-SAP-FileContainer required | string This is the only REQUIRED header. This header is used to define which File Container the request should target. Any request is always in the context of one File Container. |
| X-Request-ID | string Example: 5966e186-fbd9-4507-a2e7-d130da18ca1e This header is used to assign an ID to the request, which is expected to uniquely identify it. The ID can contain only letters (a-z, A-Z), numbers, the whitespace character, and the following special characters |
| X-Correlation-ID | string This header is used to assign a correlation ID to the request, which is expected to be used to identify a series of related HTTP requests, or a chain of events. The ID can contain only letters (a-z, A-Z), numbers, the whitespace character, and the following special characters |
| X-SAP-Trusted-User | string This header is an optional header and requires the impersonate privilege in order to use it. This header allows you to set the user context of the request, making all outcomes of the request traceable back to the specified user.
Note that if NOT used in conjunction with |
| X-SAP-Trusted-User-Encoding | string Enum: "ascii" "b64-utf-8" This header is optional and is only used in conjunction with |
| X-SAP-Trusted-User-Roles | string This header is optional, requires the authorize privilege in order to use, and must be used in conjunction with |
{- "DirectoryListing": {
- "partialListing": {
- "FileStatuses": {
- "FileStatus": [
- {
- "accessTime": 0,
- "blockSize": 33554432,
- "group": "somegroup",
- "length": 3854432,
- "modificationTime": 1320171722771,
- "owner": "someuser",
- "pathSuffix": "file001",
- "permission": "666",
- "replication": 1,
- "type": "FILE",
- "eTag": "RVRhZy1FeGFtcGxlCg=="
}, - {
- "accessTime": 0,
- "blockSize": 33554432,
- "group": "somegroup",
- "length": 15,
- "modificationTime": 1623285761000,
- "owner": "someuser",
- "pathSuffix": "directory001",
- "permission": "666",
- "replication": 1,
- "type": "DIRECTORY",
- "eTag": "RVRhZy1FeGFtcGxlCg=="
}
]
}
}, - "pageId": "cGFnZS1pZC10b2tlbgo="
}
}Recursively lists the contents of a directory given by the path parameter.
| path required | string <path/to/file OR path/to/directory/> The absolute path of a file or directory. |
| startAfter | string <opaque-token> The ID of the last listed page. If omitted, the first page is returned. The ID of the page is returned in the pageId field. |
| X-SAP-FileContainer required | string This is the only REQUIRED header. This header is used to define which File Container the request should target. Any request is always in the context of one File Container. |
| X-Request-ID | string Example: 5966e186-fbd9-4507-a2e7-d130da18ca1e This header is used to assign an ID to the request, which is expected to uniquely identify it. The ID can contain only letters (a-z, A-Z), numbers, the whitespace character, and the following special characters |
| X-Correlation-ID | string This header is used to assign a correlation ID to the request, which is expected to be used to identify a series of related HTTP requests, or a chain of events. The ID can contain only letters (a-z, A-Z), numbers, the whitespace character, and the following special characters |
| X-SAP-Trusted-User | string This header is an optional header and requires the impersonate privilege in order to use it. This header allows you to set the user context of the request, making all outcomes of the request traceable back to the specified user.
Note that if NOT used in conjunction with |
| X-SAP-Trusted-User-Encoding | string Enum: "ascii" "b64-utf-8" This header is optional and is only used in conjunction with |
| X-SAP-Trusted-User-Roles | string This header is optional, requires the authorize privilege in order to use, and must be used in conjunction with |
{- "DirectoryListing": {
- "partialListing": {
- "FileStatuses": {
- "FileStatus": [
- {
- "accessTime": 0,
- "blockSize": 33554432,
- "group": "somegroup",
- "length": 3854432,
- "modificationTime": 1320171722771,
- "owner": "someuser",
- "pathSuffix": "file001",
- "permission": "666",
- "replication": 1,
- "type": "FILE",
- "eTag": "RVRhZy1FeGFtcGxlCg=="
}, - {
- "accessTime": 0,
- "blockSize": 33554432,
- "group": "somegroup",
- "length": 15,
- "modificationTime": 1623285761000,
- "owner": "someuser",
- "pathSuffix": "prefix/file002",
- "permission": "666",
- "replication": 1,
- "type": "FILE",
- "eTag": "RVRhZy1FeGFtcGxlCg=="
}
]
}
}, - "pageId": "cGFnZS1pZC10b2tlbgo="
}
}Return a JSON response with user name, effective privileges of the user's role, home directory of the user, and options with extra information if applicable.
| X-SAP-FileContainer required | string This is the only REQUIRED header. This header is used to define which File Container the request should target. Any request is always in the context of one File Container. |
| X-Request-ID | string Example: 5966e186-fbd9-4507-a2e7-d130da18ca1e This header is used to assign an ID to the request, which is expected to uniquely identify it. The ID can contain only letters (a-z, A-Z), numbers, the whitespace character, and the following special characters |
| X-Correlation-ID | string This header is used to assign a correlation ID to the request, which is expected to be used to identify a series of related HTTP requests, or a chain of events. The ID can contain only letters (a-z, A-Z), numbers, the whitespace character, and the following special characters |
| X-SAP-Trusted-User | string This header is an optional header and requires the impersonate privilege in order to use it. This header allows you to set the user context of the request, making all outcomes of the request traceable back to the specified user.
Note that if NOT used in conjunction with |
| X-SAP-Trusted-User-Encoding | string Enum: "ascii" "b64-utf-8" This header is optional and is only used in conjunction with |
| X-SAP-Trusted-User-Roles | string This header is optional, requires the authorize privilege in order to use, and must be used in conjunction with |
{- "user": "bob",
- "privileges": [
- "browse",
- "create",
- "open"
], - "home": "/prefix/bob",
- "options": [
- {
- "direct-access-type": "GCS"
}
]
}Create a new file and write data to the created file.
Note: Please note the response can be a temporary redirection to a different endpoint.
Note: Please note the CREATE operation will always overwrite the file if it already exists.
| path required | string <path/to/file> The absolute path to a file. |
| noredirect | boolean Default: false If this is set to true, even when the response is a temporary redirect, it will have HTTP status 200 OK and the redirection location will be in the response body. |
| data | boolean Default: false If set to true, the operation is performed without any redirect. |
| X-SAP-FileContainer required | string This is the only REQUIRED header. This header is used to define which File Container the request should target. Any request is always in the context of one File Container. |
| X-Request-ID | string Example: 5966e186-fbd9-4507-a2e7-d130da18ca1e This header is used to assign an ID to the request, which is expected to uniquely identify it. The ID can contain only letters (a-z, A-Z), numbers, the whitespace character, and the following special characters |
| X-Correlation-ID | string This header is used to assign a correlation ID to the request, which is expected to be used to identify a series of related HTTP requests, or a chain of events. The ID can contain only letters (a-z, A-Z), numbers, the whitespace character, and the following special characters |
| X-SAP-Trusted-User | string This header is an optional header and requires the impersonate privilege in order to use it. This header allows you to set the user context of the request, making all outcomes of the request traceable back to the specified user.
Note that if NOT used in conjunction with |
| X-SAP-Trusted-User-Encoding | string Enum: "ascii" "b64-utf-8" This header is optional and is only used in conjunction with |
| X-SAP-Trusted-User-Roles | string This header is optional, requires the authorize privilege in order to use, and must be used in conjunction with |
| X-SAP-Accept-Direct-Access | boolean If direct access is available, the data will be transferred without going through HDL Files. If not available, the operation will fall back to the default mode. |
| X-SAP-Expect-Direct-Access | boolean Direct Access is a requirement. If direct access is available, the data will be transferred without going through HDL Files. If not available, the request will fail. |
| X-SAP-Direct-Access-GCS-Generation-Match | integer <int64> (only applicable for Note: Header Note: Please refer to operation |
| X-SAP-Direct-Access-GCS-Upload-Type | string Enum: "RESUMABLE" "DIRECT" (only applicable for Note: Please refer to operation |
| X-SAP-Direct-Access-S3-Content-MD5 | string (only applicable for Note: Please refer to operation |
| X-SAP-Direct-Access-S3-If-None-Match | string (only applicable for Note: Please refer to operation |
| X-SAP-Direct-Access-WASB-If-None-Match | string (only applicable for Note: Please refer to operation |
{- "type": "GCS",
- "properties": {
- "headers": {
- "Range": "bytes=0-1"
}, - "method": "GET"
}
}Rename the file given by the path parameter.
| path required | string <path/to/file> The absolute path to a file. |
| destination required | string <path/to/destination/file> An absolute path to which you want the file to be renamed. |
| X-SAP-FileContainer required | string This is the only REQUIRED header. This header is used to define which File Container the request should target. Any request is always in the context of one File Container. |
| X-Request-ID | string Example: 5966e186-fbd9-4507-a2e7-d130da18ca1e This header is used to assign an ID to the request, which is expected to uniquely identify it. The ID can contain only letters (a-z, A-Z), numbers, the whitespace character, and the following special characters |
| X-Correlation-ID | string This header is used to assign a correlation ID to the request, which is expected to be used to identify a series of related HTTP requests, or a chain of events. The ID can contain only letters (a-z, A-Z), numbers, the whitespace character, and the following special characters |
| X-SAP-Trusted-User | string This header is an optional header and requires the impersonate privilege in order to use it. This header allows you to set the user context of the request, making all outcomes of the request traceable back to the specified user.
Note that if NOT used in conjunction with |
| X-SAP-Trusted-User-Encoding | string Enum: "ascii" "b64-utf-8" This header is optional and is only used in conjunction with |
| X-SAP-Trusted-User-Roles | string This header is optional, requires the authorize privilege in order to use, and must be used in conjunction with |
{- "boolean": true
}Copy the file or directory given by the path parameter.
| path required | string <path/to/file OR path/to/directory/> The absolute path of a file or directory. |
| destination required | string <path/to/destination/file-or-directory> The absolute path to which you want the file or directory to be copied. |
| async | boolean Default: false This is an optional query parameter that can be specified to indicate if the operation should be performed asynchronously. If not specified, it defaults to |
| X-SAP-FileContainer required | string This is the only REQUIRED header. This header is used to define which File Container the request should target. Any request is always in the context of one File Container. |
| X-Request-ID | string Example: 5966e186-fbd9-4507-a2e7-d130da18ca1e This header is used to assign an ID to the request, which is expected to uniquely identify it. The ID can contain only letters (a-z, A-Z), numbers, the whitespace character, and the following special characters |
| X-Correlation-ID | string This header is used to assign a correlation ID to the request, which is expected to be used to identify a series of related HTTP requests, or a chain of events. The ID can contain only letters (a-z, A-Z), numbers, the whitespace character, and the following special characters |
| X-SAP-Trusted-User | string This header is an optional header and requires the impersonate privilege in order to use it. This header allows you to set the user context of the request, making all outcomes of the request traceable back to the specified user.
Note that if NOT used in conjunction with |
| X-SAP-Trusted-User-Encoding | string Enum: "ascii" "b64-utf-8" This header is optional and is only used in conjunction with |
| X-SAP-Trusted-User-Roles | string This header is optional, requires the authorize privilege in order to use, and must be used in conjunction with |
{- "boolean": true
}Set/Replace the content of the Access Policies JSON document. This document controls the access policies of the File Container. The JSON document must be sent in the body of the request. Note that this is not an incremental update, so the complete document must always be sent.
| X-SAP-FileContainer required | string This is the only REQUIRED header. This header is used to define which File Container the request should target. Any request is always in the context of one File Container. |
| X-Request-ID | string Example: 5966e186-fbd9-4507-a2e7-d130da18ca1e This header is used to assign an ID to the request, which is expected to uniquely identify it. The ID can contain only letters (a-z, A-Z), numbers, the whitespace character, and the following special characters |
| X-Correlation-ID | string This header is used to assign a correlation ID to the request, which is expected to be used to identify a series of related HTTP requests, or a chain of events. The ID can contain only letters (a-z, A-Z), numbers, the whitespace character, and the following special characters |
| X-SAP-Trusted-User | string This header is an optional header and requires the impersonate privilege in order to use it. This header allows you to set the user context of the request, making all outcomes of the request traceable back to the specified user.
Note that if NOT used in conjunction with |
| X-SAP-Trusted-User-Encoding | string Enum: "ascii" "b64-utf-8" This header is optional and is only used in conjunction with |
| X-SAP-Trusted-User-Roles | string This header is optional, requires the authorize privilege in order to use, and must be used in conjunction with |
The complete Access Policies JSON document.
Array of objects (AccessPolicy) |
{- "AccessPolicies": [
- {
- "path": "/example/path/prefix",
- "entries": [
- "user:alice:r--",
- "user:bob:rw-"
]
}, - {
- "path": "/user/%USER%",
- "entries": [
- "user::r--",
- "user:%USER%:rw-"
]
}, - {
- "path": "/role/%ROLE%",
- "entries": [
- "role::r--",
- "role:%ROLE%:rw-"
]
}
]
}{- "exception": "string",
- "javaClassName": "string",
- "message": "string",
- "requestId": "string",
- "timestamp": "string"
}Append local content to the end of a remote file given by the path parameter.
Note: Header Content-Type must be set to application/octet-stream.
Note: On remote object stores that do not support a native append operation, e.g. Amazon S3, an append operation translates into a copy of the modified file.
| path required | string <path/to/file> The absolute path to a file. |
| noredirect | boolean Default: false If this is set to true, even when the response is a temporary redirect, it will have HTTP status 200 OK and the redirection location will be in the response body. |
| data | boolean Default: false If set to true, the operation is performed without any redirect. |
| X-SAP-FileContainer required | string This is the only REQUIRED header. This header is used to define which File Container the request should target. Any request is always in the context of one File Container. |
| X-Request-ID | string Example: 5966e186-fbd9-4507-a2e7-d130da18ca1e This header is used to assign an ID to the request, which is expected to uniquely identify it. The ID can contain only letters (a-z, A-Z), numbers, the whitespace character, and the following special characters |
| X-Correlation-ID | string This header is used to assign a correlation ID to the request, which is expected to be used to identify a series of related HTTP requests, or a chain of events. The ID can contain only letters (a-z, A-Z), numbers, the whitespace character, and the following special characters |
| X-SAP-Trusted-User | string This header is an optional header and requires the impersonate privilege in order to use it. This header allows you to set the user context of the request, making all outcomes of the request traceable back to the specified user.
Note that if NOT used in conjunction with |
| X-SAP-Trusted-User-Encoding | string Enum: "ascii" "b64-utf-8" This header is optional and is only used in conjunction with |
| X-SAP-Trusted-User-Roles | string This header is optional, requires the authorize privilege in order to use, and must be used in conjunction with |
{- "exception": "string",
- "javaClassName": "string",
- "message": "string",
- "requestId": "string",
- "timestamp": "string"
}This operation allows the deletion of multiple files in one request. The body contains an object with an array of the file objects (paths) to be deleted.
Note: Only files can be deleted, not directories. Note: Non-existent files are silently ignored, since "file not found" is not considered an error.
| async | boolean Default: false This is an optional query parameter that can be specified to indicate if the operation should be performed asynchronously. If not specified, it defaults to |
| X-SAP-FileContainer required | string This is the only REQUIRED header. This header is used to define which File Container the request should target. Any request is always in the context of one File Container. |
| X-Request-ID | string Example: 5966e186-fbd9-4507-a2e7-d130da18ca1e This header is used to assign an ID to the request, which is expected to uniquely identify it. The ID can contain only letters (a-z, A-Z), numbers, the whitespace character, and the following special characters |
| X-Correlation-ID | string This header is used to assign a correlation ID to the request, which is expected to be used to identify a series of related HTTP requests, or a chain of events. The ID can contain only letters (a-z, A-Z), numbers, the whitespace character, and the following special characters |
| X-SAP-Trusted-User | string This header is an optional header and requires the impersonate privilege in order to use it. This header allows you to set the user context of the request, making all outcomes of the request traceable back to the specified user.
Note that if NOT used in conjunction with |
| X-SAP-Trusted-User-Encoding | string Enum: "ascii" "b64-utf-8" This header is optional and is only used in conjunction with |
| X-SAP-Trusted-User-Roles | string This header is optional, requires the authorize privilege in order to use, and must be used in conjunction with |
An object containing an array of paths of the files to be deleted.
Array of objects |
{- "files": [
- {
- "path": "/folder/file1"
}, - {
- "path": "/folder/file2"
}, - {
- "path": "/folder/fileN"
}
]
}{- "boolean": true
}This operation allows the merging of multiple files into a single file. The body contains an object with an array of the file objects (paths) to be merged.
| path required | string <path/to/file OR path/to/directory/> The absolute path of a file or directory. |
| async | boolean Default: false This is an optional query parameter that can be specified to indicate if the operation should be performed asynchronously. If not specified, it defaults to |
| X-SAP-FileContainer required | string This is the only REQUIRED header. This header is used to define which File Container the request should target. Any request is always in the context of one File Container. |
| X-Request-ID | string Example: 5966e186-fbd9-4507-a2e7-d130da18ca1e This header is used to assign an ID to the request, which is expected to uniquely identify it. The ID can contain only letters (a-z, A-Z), numbers, the whitespace character, and the following special characters |
| X-Correlation-ID | string This header is used to assign a correlation ID to the request, which is expected to be used to identify a series of related HTTP requests, or a chain of events. The ID can contain only letters (a-z, A-Z), numbers, the whitespace character, and the following special characters |
| X-SAP-Trusted-User | string This header is an optional header and requires the impersonate privilege in order to use it. This header allows you to set the user context of the request, making all outcomes of the request traceable back to the specified user.
Note that if NOT used in conjunction with |
| X-SAP-Trusted-User-Encoding | string Enum: "ascii" "b64-utf-8" This header is optional and is only used in conjunction with |
| X-SAP-Trusted-User-Roles | string This header is optional, requires the authorize privilege in order to use, and must be used in conjunction with |
An object containing an array of paths to be merged.
Array of objects |
{- "sources": [
- {
- "path": "/folder/file1"
}, - {
- "path": "/folder/file2"
}, - {
- "path": "/folder/fileN"
}
]
}{- "Token": {
- "urlString": "aS1hbS1hLXRva2VuCg=="
}
}Restore the state of the File Container contents to a specific timestamp. Files can be removed, modified or deleted in order to restore the state. This is an asynchronous operation, so the user must wait until the operation is finished. A token is returned in the response body to identify the restore process. The token can be used as a parameter to the operation GETRESTORESNAPSHOTSTATUS to query the process status.
| path required | string <path/to/directory/> The absolute path of the directory that should be restored. All files inside this path will be recursively restored. |
| snapshotname required | string An ISO 8601 timestamp to indicate the target timestamp. The timezone considered is UTC. Example: |
| X-SAP-FileContainer required | string This is the only REQUIRED header. This header is used to define which File Container the request should target. Any request is always in the context of one File Container. |
| X-Request-ID | string Example: 5966e186-fbd9-4507-a2e7-d130da18ca1e This header is used to assign an ID to the request, which is expected to uniquely identify it. The ID can contain only letters (a-z, A-Z), numbers, the whitespace character, and the following special characters |
| X-Correlation-ID | string This header is used to assign a correlation ID to the request, which is expected to be used to identify a series of related HTTP requests, or a chain of events. The ID can contain only letters (a-z, A-Z), numbers, the whitespace character, and the following special characters |
| X-SAP-Trusted-User | string This header is an optional header and requires the impersonate privilege in order to use it. This header allows you to set the user context of the request, making all outcomes of the request traceable back to the specified user.
Note that if NOT used in conjunction with |
| X-SAP-Trusted-User-Encoding | string Enum: "ascii" "b64-utf-8" This header is optional and is only used in conjunction with |
| X-SAP-Trusted-User-Roles | string This header is optional, requires the authorize privilege in order to use, and must be used in conjunction with |
{- "Token": {
- "urlString": "aS1hbS1hLXRva2VuCg=="
}
}Delete a file.
| path required | string <path/to/file> The absolute path to a file. |
| recursive | boolean Default: false If set to true, the path will be recursively deleted. To delete a folder recursively, the user needs authorization for all the paths inside it. If there is a file inside the folder to be deleted with a policy that disallows the user to delete it, the operation will fail with a |
| X-SAP-FileContainer required | string This is the only REQUIRED header. This header is used to define which File Container the request should target. Any request is always in the context of one File Container. |
| X-Request-ID | string Example: 5966e186-fbd9-4507-a2e7-d130da18ca1e This header is used to assign an ID to the request, which is expected to uniquely identify it. The ID can contain only letters (a-z, A-Z), numbers, the whitespace character, and the following special characters |
| X-Correlation-ID | string This header is used to assign a correlation ID to the request, which is expected to be used to identify a series of related HTTP requests, or a chain of events. The ID can contain only letters (a-z, A-Z), numbers, the whitespace character, and the following special characters |
| X-SAP-Trusted-User | string This header is an optional header and requires the impersonate privilege in order to use it. This header allows you to set the user context of the request, making all outcomes of the request traceable back to the specified user.
Note that if NOT used in conjunction with |
| X-SAP-Trusted-User-Encoding | string Enum: "ascii" "b64-utf-8" This header is optional and is only used in conjunction with |
| X-SAP-Trusted-User-Roles | string This header is optional, requires the authorize privilege in order to use, and must be used in conjunction with |
{- "boolean": true
}Unset/remove all access policies, effectively emptying the Access Policies JSON document.
| X-SAP-FileContainer required | string This is the only REQUIRED header. This header is used to define which File Container the request should target. Any request is always in the context of one File Container. |
| X-Request-ID | string Example: 5966e186-fbd9-4507-a2e7-d130da18ca1e This header is used to assign an ID to the request, which is expected to uniquely identify it. The ID can contain only letters (a-z, A-Z), numbers, the whitespace character, and the following special characters |
| X-Correlation-ID | string This header is used to assign a correlation ID to the request, which is expected to be used to identify a series of related HTTP requests, or a chain of events. The ID can contain only letters (a-z, A-Z), numbers, the whitespace character, and the following special characters |
| X-SAP-Trusted-User | string This header is an optional header and requires the impersonate privilege in order to use it. This header allows you to set the user context of the request, making all outcomes of the request traceable back to the specified user.
Note that if NOT used in conjunction with |
| X-SAP-Trusted-User-Encoding | string Enum: "ascii" "b64-utf-8" This header is optional and is only used in conjunction with |
| X-SAP-Trusted-User-Roles | string This header is optional, requires the authorize privilege in order to use, and must be used in conjunction with |
{- "exception": "string",
- "javaClassName": "string",
- "message": "string",
- "requestId": "string",
- "timestamp": "string"
}List recovery jobs.
| X-SAP-FileContainer required | string Example: 12d34ec6-6b72-4a18-ba0d-e04d62d125f4 This header is used to define which File Container the request should target. Any request is always in the context of one File Container. |
{- "jobs": [
- {
- "id": "string",
- "timestamp": "string",
- "user": "string",
- "status": "PENDING",
- "resources": [
- "file-policy",
- "path",
- "policy",
- "trust"
], - "messages": [
- "string"
], - "createdAt": "string"
}
]
}Get recovery job by given ID.
| X-SAP-FileContainer required | string Example: 12d34ec6-6b72-4a18-ba0d-e04d62d125f4 This header is used to define which File Container the request should target. Any request is always in the context of one File Container. |
{- "id": "string",
- "timestamp": "string",
- "user": "string",
- "status": "PENDING",
- "resources": [
- "file-policy",
- "path",
- "policy",
- "trust"
], - "messages": [
- "string"
], - "createdAt": "string"
}Submit a new recovery job to be identified by the given ID.
An asterisk (*) is a collection identifier. If an asterisk is meant to be part of the resource name (and not a collection identifier), it must be escaped using double backslashes (\\).
Asterisk as a collection identifier usage
When an asterisk is used alone and not escaped, it represents all resources of that type.
Examples:
trust:* - Recovers the collection of all trustsAsterisk as a literal character usage
Examples:
trust:ab\\*c - Recovers the trust named ab*cInvalid usage
If an asterisk appears inside a resource name without being escaped, it is invalid and will be rejected.
Example:
trust:a* - Invalid (the asterisk is not escaped)| X-SAP-FileContainer required | string Example: 12d34ec6-6b72-4a18-ba0d-e04d62d125f4 This header is used to define which File Container the request should target. Any request is always in the context of one File Container. |
Configuration for the recovery procedure.
| timestamp required | string <date-time> Timestamp in ISO 8601 format representing the target snapshot. |
| resources required | Array of strings The resources to be recovered. The following resource types are supported:
Collections of all resource types can be specified, such as Resource |
{- "timestamp": "2025-08-19T10:00:00.000Z",
- "resources": [
- "file-policy:*"
]
}{- "id": "string"
}Cancel a pending or running recovery job by given ID.
| X-SAP-FileContainer required | string Example: 12d34ec6-6b72-4a18-ba0d-e04d62d125f4 This header is used to define which File Container the request should target. Any request is always in the context of one File Container. |
{- "id": "string"
}