Skip to content

Commit fc88287

Browse files
authored
Merge pull request joni2back#287 from jackyeh168/master
correct the connector api document
2 parents d9735de + 8c32d5b commit fc88287

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

API.md

Lines changed: 5 additions & 4 deletions
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)