mirror of
https://github.com/HeyPuter/puter.git
synced 2025-12-30 17:50:00 -06:00
doc: document path property items in /share
This commit is contained in:
@@ -28,6 +28,20 @@ different from calling `/grant-user-user` with a permission.
|
||||
- **notes:**
|
||||
- requirement that file/directory exists
|
||||
- requirement of at least one value
|
||||
- **structure:** for `object` values:
|
||||
- **path:** _- required_
|
||||
- **accepts:** `string`
|
||||
- **description:**
|
||||
a Puter file path
|
||||
- **access:** _- required_
|
||||
- **description:** one of: `"read"`, `"write"`
|
||||
- **examples:**
|
||||
- ```json
|
||||
{ "path": "/some/path", "access": "read" }
|
||||
```
|
||||
- ```json
|
||||
{ "path": "/some/path" }
|
||||
```
|
||||
- **dry_run:** _- optional_
|
||||
- **accepts:** `bool`
|
||||
- **description:**
|
||||
|
||||
Reference in New Issue
Block a user