FileSystemEntry
An entry in a file system directory listing: a file or a directory.
Kind: one of several shapes, used in responses.
Shapes
Section titled “Shapes”The $type field says which shape it is, and comes first.
$type | Shape |
|---|---|
"directory" | FileSystemDirectory |
"file" | FileSystemFile |
Example
Section titled “Example”{ "$type": "directory", "name": "...", "path": "...", "dateCreated": "2026-10-26T12:00:00.0000000Z", "dateModified": "2026-10-26T12:00:00.0000000Z"}Where it’s used
Section titled “Where it’s used”vfs.open(name).copy(PUT /namespaces/{namespaceName}/vfs/by-name/{name}/copy)vfs.open(name).list(GET /namespaces/{namespaceName}/vfs/by-name/{name}/directories/contents)vfs.open(name).move(POST /namespaces/{namespaceName}/vfs/by-name/{name}/move)vfs.openById(id).copy(PUT /vfs/by-id/{id}/copy)vfs.openById(id).list(GET /vfs/by-id/{id}/directories/contents)vfs.openById(id).move(POST /vfs/by-id/{id}/move)