Skip to content

Commit

Permalink
correct the connector api document
Browse files Browse the repository at this point in the history
1. Set permissions 
2. Extract file
  • Loading branch information
jackyeh168 committed Jul 6, 2017
1 parent d9735de commit 8c32d5b
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions API.md
Expand Up @@ -130,8 +130,8 @@
{
"action": "changePermissions",
"items": ["/public_html/root", "/public_html/index.php"],
"perms": "653",
"permsCode": "rw-r-x-wx",
"perms": "rw-r-x-wx",
"permsCode": "653",
"recursive": true
}
```
Expand Down Expand Up @@ -161,7 +161,8 @@
{
"action": "extract",
"destination": "/public_html/extracted-files",
"item": "/public_html/compressed.zip"
"item": "/public_html/compressed.zip",
"folderName": "extract_dir"
}
```
**JSON Response**
Expand Down Expand Up @@ -227,4 +228,4 @@ Btw, you can also report errors with a 200 response both using this json structu
"success": false,
"error": "Access denied to remove file"
}}
```
```

0 comments on commit 8c32d5b

Please sign in to comment.