Expand description
URL and path helpers for Nextcloud WebDAV Chunked Upload v2.
Functionsยง
- abort_
path - Builds the
ApiPathaddressing the upload directory to abort and delete it. - assembly_
path - Builds the
ApiPathaddressing the assembly target file. - chunk_
path - Builds the
ApiPathaddressing a single chunk in the upload collection. - destination_
header_ value - Resolves and validates a destination path or URI for the
Destinationheader. - upload_
collection_ path - Builds the
ApiPathaddressing the upload collection directory. - validate_
chunk_ index - Validates that a chunk index is valid.
- validate_
upload_ id - Validates that an upload identifier is suitable as a single URL path segment.
- validate_
user - Validates that a user identifier is suitable as a single URL path segment.