Dropbox files/* endpoints — listing, upload/download, copy/move/delete,
search, revisions, locks, tags, thumbnails, and upload sessions.
Summary
Functions
Alias for copy_v2/3.
POST files/copy_batch/check_v2.
POST files/copy_batch_v2.
POST files/copy_reference/get.
POST files/copy_reference/save.
POST files/copy_v2.
POST files/create_folder_batch.
POST files/create_folder_batch/check.
POST files/create_folder_v2.
Alias for delete_v2/2.
POST files/delete_batch.
POST files/delete_batch/check.
POST files/delete_v2.
POST files/download — returns %{metadata: map, body: binary, headers: list}.
Download and write body to a local file path.
POST files/download_zip.
POST files/export (Paper / Google docs etc.).
POST files/get_file_lock_batch.
POST files/get_metadata.
POST files/get_preview.
POST files/get_temporary_link.
POST files/get_temporary_upload_link.
POST files/get_thumbnail.
POST files/get_thumbnail_batch.
POST files/get_thumbnail_v2.
POST files/list_folder. Use path: "" for the root folder.
Paginate list_folder until has_more is false. Returns atom-key maps.
POST files/list_folder/continue.
POST files/list_folder/get_latest_cursor.
POST files/list_folder/longpoll (notify host; no user auth).
POST files/list_revisions.
POST files/lock_file_batch.
Alias for move_v2/3.
POST files/move_batch/check_v2.
POST files/move_batch_v2.
POST files/move_v2.
POST files/paper/create (content upload).
POST files/paper/update (content upload).
POST files/permanently_delete.
POST files/restore.
POST files/save_url.
POST files/save_url/check_job_status.
Alias for search_v2/2.
POST files/search/continue_v2.
POST files/search_v2.
POST files/tags/add.
POST files/tags/get.
POST files/tags/remove.
POST files/unlock_file_batch.
POST files/upload (max ~150 MB). For larger files use upload sessions.
Convenience: upload arbitrary-size binary using sessions (4 MB chunks by default).
POST files/upload_session/append_v2.
POST files/upload_session/finish.
POST files/upload_session/finish_batch/check.
POST files/upload_session/finish_batch_v2.
POST files/upload_session/start.
POST files/upload_session/start_batch.
Types
@type result() :: {:ok, term()} | {:error, Noizu.Dropbox.Error.t()}
Functions
Alias for copy_v2/3.
POST files/copy_batch/check_v2.
POST files/copy_batch_v2.
POST files/copy_reference/get.
POST files/copy_reference/save.
POST files/copy_v2.
Alias for create_folder_v2/2.
POST files/create_folder_batch.
POST files/create_folder_batch/check.
POST files/create_folder_v2.
Alias for delete_v2/2.
POST files/delete_batch.
POST files/delete_batch/check.
POST files/delete_v2.
POST files/download — returns %{metadata: map, body: binary, headers: list}.
Download and write body to a local file path.
POST files/download_zip.
POST files/export (Paper / Google docs etc.).
POST files/get_file_lock_batch.
POST files/get_metadata.
POST files/get_preview.
POST files/get_temporary_link.
POST files/get_temporary_upload_link.
POST files/get_thumbnail.
POST files/get_thumbnail_batch.
POST files/get_thumbnail_v2.
POST files/list_folder. Use path: "" for the root folder.
Paginate list_folder until has_more is false. Returns atom-key maps.
POST files/list_folder/continue.
POST files/list_folder/get_latest_cursor.
POST files/list_folder/longpoll (notify host; no user auth).
POST files/list_revisions.
POST files/lock_file_batch.
Alias for move_v2/3.
POST files/move_batch/check_v2.
POST files/move_batch_v2.
POST files/move_v2.
POST files/paper/create (content upload).
@spec paper_update( String.t(), binary(), String.t() | atom(), String.t() | atom(), opts() ) :: result()
POST files/paper/update (content upload).
POST files/permanently_delete.
POST files/restore.
POST files/save_url.
POST files/save_url/check_job_status.
Alias for search_v2/2.
POST files/search/continue_v2.
POST files/search_v2.
POST files/tags/add.
POST files/tags/get.
POST files/tags/remove.
POST files/unlock_file_batch.
POST files/upload (max ~150 MB). For larger files use upload sessions.
Options
:mode—"add"|"overwrite"|%{".tag" => "update", "update" => rev}:autorename,:mute,:strict_conflict,:client_modified,:property_groups
Convenience: upload arbitrary-size binary using sessions (4 MB chunks by default).
Options
:chunk_size— bytes per chunk (default 4_194_304):mode— commit mode (default"overwrite"):autorename— passed to commit (defaultfalse)
POST files/upload_session/append_v2.
POST files/upload_session/finish.
POST files/upload_session/finish_batch/check.
POST files/upload_session/finish_batch_v2.
POST files/upload_session/start.
@spec upload_session_start_batch(pos_integer(), opts()) :: result()
POST files/upload_session/start_batch.