mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-01-29 19:56:10 +01:00
🎨 Add file access control (#9722)
This commit is contained in:
parent
f5205d846c
commit
4ca62ef701
5 changed files with 139 additions and 65 deletions
1
API.md
1
API.md
|
|
@ -1032,6 +1032,7 @@ View API token in <kbd>Settings - About</kbd>, request header: `Authorization: T
|
|||
* `code`: non-zero for exceptions
|
||||
|
||||
* `-1`: Parameter parsing error
|
||||
* `403`: Permission denied (file is not in the workspace)
|
||||
* `404`: Not Found (file doesn't exist)
|
||||
* `405`: Method Not Allowed (it's a directory)
|
||||
* `500`: Server Error (stat file failed / read file failed)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue