Raw Search

Preview unlock cost for a raw file

Return the quota impact of unlocking a raw file. Either provide sha256_original or the tuple (container_id, entry_path).

get/raw/download/preview

Request

Query parameters

sha256_originalstring nullable

SHA-256 of the original file (alternative to container_id + entry_path).

container_idinteger nullable

Container identifier (with entry_path, resolves the file hash).

entry_pathstring nullable

Path of the entry inside the container.

Response

Preview computed successfully.

sha256_originalstring required

SHA-256 hash of the raw file that would be downloaded.

raw_file_idinteger required

Identifier of the raw file.

file_namestring nullable

Proposed download file name, when available.

original_file_namestring nullable

Original file name when it differs from the stored name.

source_size_bytesinteger required

Original file size in bytes.

already_unlockedboolean required

Whether the user has already unlocked the complete file.

cost_bytesinteger required

Number of bytes that will be debited if the user unlocks the file.

user_gb_available_bytesinteger required

Remaining quota in bytes for the current user.

can_unlockboolean required

True when the user has enough quota to unlock the file.

file_passwordstring nullable

Password required to open the downloaded archive, when present.

downloaded_beforeboolean

True if the user has downloaded this file previously, regardless of unlock expiration.

Changes

No recorded changes to this operation across all 13 revisions of this API.