Magpie.Files.Locks (Magpie v0.1.0)

Copy Markdown View Source

File locking endpoints (/files/*_file_lock_batch), useful to coordinate editing on shared files.

Each entry is a map with the file "path".

Summary

Functions

Return the lock metadata for the given list of paths.

Lock the files at the given paths.

Unlock the files at the given paths.

Functions

get_file_lock_batch(client, entries)

Return the lock metadata for the given list of paths.

More info at: https://www.dropbox.com/developers/documentation/http/documentation#files-get_file_lock_batch

lock_file_batch(client, entries)

Lock the files at the given paths.

More info at: https://www.dropbox.com/developers/documentation/http/documentation#files-lock_file_batch

unlock_file_batch(client, entries)

Unlock the files at the given paths.

More info at: https://www.dropbox.com/developers/documentation/http/documentation#files-unlock_file_batch