Skip to content

Commit 8c32d5b

Browse files
authored
correct the connector api document
1. Set permissions 2. Extract file
1 parent d9735de commit 8c32d5b

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

API.md

+5-4
Original file line numberDiff line numberDiff line change
@@ -130,8 +130,8 @@
130130
{
131131
"action": "changePermissions",
132132
"items": ["/public_html/root", "/public_html/index.php"],
133-
"perms": "653",
134-
"permsCode": "rw-r-x-wx",
133+
"perms": "rw-r-x-wx",
134+
"permsCode": "653",
135135
"recursive": true
136136
}
137137
```
@@ -161,7 +161,8 @@
161161
{
162162
"action": "extract",
163163
"destination": "/public_html/extracted-files",
164-
"item": "/public_html/compressed.zip"
164+
"item": "/public_html/compressed.zip",
165+
"folderName": "extract_dir"
165166
}
166167
```
167168
**JSON Response**
@@ -227,4 +228,4 @@ Btw, you can also report errors with a 200 response both using this json structu
227228
"success": false,
228229
"error": "Access denied to remove file"
229230
}}
230-
```
231+
```

0 commit comments

Comments
 (0)