Skip to content
Hoody.com

WebDAV-compatible file operations let standard WebDAV clients (Nextcloud, ownCloud, Cyberduck, macOS Finder, Windows Explorer) interact with Hoody container files. These endpoints speak the WebDAV HTTP verbs (OPTIONS, COPY, MOVE, LOCK, UNLOCK, PROPFIND, PROPPATCH) on top of the regular file storage. Use them when you want native OS or third-party WebDAV client integration rather than the higher-level REST file APIs.


Returns supported HTTP methods and WebDAV compliance class. WebDAV clients call this first to discover server capabilities (RFC 4918 §10.1).

NameInTypeRequiredDescription
pathpathstringYesFile or directory path to inspect
Terminal window
curl -X OPTIONS "https://proj_a8f3e2-ctn_5d9c1b-files-1.us-east-1.containers.hoody.icu/documents" \
-H "Authorization: Bearer <token>"

Connect a WebDAV client (Nextcloud, ownCloud, etc.) to a container’s file store. The client supplies the remote WebDAV server coordinates; Hoody returns the file content or directory listing.

NameInTypeRequiredDescription
pathpathstringYesPath within the Hoody container
typequerystringYesMust be webdav
serverquerystringYesRemote WebDAV server hostname
userquerystringNoWebDAV username
passquerystringNoWebDAV password
webdav_pathquerystringNoWebDAV endpoint path (default: /)
Terminal window
curl -X GET "https://proj_a8f3e2-ctn_5d9c1b-files-1.us-east-1.containers.hoody.icu/remote.php/dav/files/alice/Documents?type=webdav&server=nextcloud.example.com&user=alice&pass=secret123&webdav_path=/remote.php/dav" \
-H "Authorization: Bearer <token>"

WebDAV COPY: copy a file or directory to a new location specified by the Destination header.

NameInTypeRequiredDescription
pathpathstringYesSource file or directory path
DestinationheaderstringYesDestination URL for the copy
DepthheaderstringNoCopy depth: 0 (file only) or infinity (recursive for directories). Default: infinity
Terminal window
curl -X COPY "https://proj_a8f3e2-ctn_5d9c1b-files-1.us-east-1.containers.hoody.icu/documents/report.pdf" \
-H "Authorization: Bearer <token>" \
-H "Destination: https://proj_a8f3e2-ctn_5d9c1b-files-1.us-east-1.containers.hoody.icu/archive/report-backup.pdf" \
-H "Depth: 0"

WebDAV MOVE: move or rename a file or directory. Requires both upload and delete permissions on the source.

NameInTypeRequiredDescription
pathpathstringYesSource file or directory path
DestinationheaderstringYesDestination URL for the move
Terminal window
curl -X MOVE "https://proj_a8f3e2-ctn_5d9c1b-files-1.us-east-1.containers.hoody.icu/documents/draft.md" \
-H "Authorization: Bearer <token>" \
-H "Destination: https://proj_a8f3e2-ctn_5d9c1b-files-1.us-east-1.containers.hoody.icu/documents/final.md"

Returns a lock token. The optional application/xml body follows the standard WebDAV lock-info schema.

NameInTypeRequiredDescription
pathpathstringYesFile path to lock
DepthheaderstringNo0 or infinity

Optional. Content-Type: application/xml. The schema is open (no documented fields).

Terminal window
curl -X LOCK "https://proj_a8f3e2-ctn_5d9c1b-files-1.us-east-1.containers.hoody.icu/documents/report.pdf" \
-H "Authorization: Bearer <token>" \
-H "Depth: 0" \
-H "Content-Type: application/xml" \
-d '<?xml version="1.0" encoding="utf-8"?>
</D:lockscope>
</D:locktype>
mailto:alice@example.com</D:href></D:owner>
</D:lockinfo>'

Releases a previously issued lock token. No-op compatibility stub.

NameInTypeRequiredDescription
pathpathstringYesFile path to unlock
Lock-TokenheaderstringYesLock token to release
Terminal window
curl -X UNLOCK "https://proj_a8f3e2-ctn_5d9c1b-files-1.us-east-1.containers.hoody.icu/documents/report.pdf" \
-H "Authorization: Bearer <token>" \
-H "Lock-Token: <opaquelocktoken:abc123-def456>"

Retrieve WebDAV properties for a file or directory. Returns XML with resource type, size, modification date, ETag, and more. The Depth header controls recursion into directories.

NameInTypeRequiredDescription
pathpathstringYesFile or directory path
DepthheaderstringNoDepth of property retrieval: 0 (resource only), 1 (immediate children), infinity (recursive). Default: 1

Optional. Content-Type: application/xml. Standard PROPFIND XML body specifying which properties to retrieve.

Terminal window
curl -X PROPFIND "https://proj_a8f3e2-ctn_5d9c1b-files-1.us-east-1.containers.hoody.icu/documents" \
-H "Authorization: Bearer <token>" \
-H "Depth: 1" \
-H "Content-Type: application/xml" \
-d '<?xml version="1.0" encoding="utf-8"?>
</D:prop>
</D:propfind>'

Modify properties on a file. Returns a 207 Multi-Status response describing which properties were set or removed.

NameInTypeRequiredDescription
pathpathstringYesFile path to update

Required. Content-Type: application/xml. Standard PROPPATCH XML body with set/remove instructions.

Terminal window
curl -X PROPPATCH "https://proj_a8f3e2-ctn_5d9c1b-files-1.us-east-1.containers.hoody.icu/documents/report.pdf" \
-H "Authorization: Bearer <token>" \
-H "Content-Type: application/xml" \
-d '<?xml version="1.0" encoding="utf-8"?>
reviewed</Z:custom-tag>
</D:prop>
</D:set>
</D:propertyupdate>'