locks
Locks
Create Lock
Changed onCreate Lock
post/locks/{path}
Request
- Base URLhttps://app.files.com/api/rest/v1
- URLhttps://app.files.com/api/rest/v1/locks/{path}
- Authnone declared
Path parameters
pathstring required
Path
Request body multipart/form-data
Example request
{
"recursive": true,
"owner": "user",
"timeout": 1
}Response
The Locks object.
Example response
{
"path": "locked_file",
"timeout": 1,
"depth": "infinity",
"recursive": true,
"owner": "user",
"scope": "shared",
"token": "17c54824e9931a4688ca032d03f6663c",
"type": "write",
"user_id": 1,
"username": "username"
}Changes
- info
api tag
Locksadded
- info
- info
endpoint added
- info