Class: DropboxApi::Endpoints::Files::ListFolderGetLatestCursor
- Includes:
- OptionsValidator
- Defined in:
- lib/dropbox_api/endpoints/files/list_folder_get_latest_cursor.rb
Constant Summary collapse
- Method =
:post
- Path =
'/2/files/list_folder/get_latest_cursor'
- ResultType =
DropboxApi::Results::ListFolderGetLatestCursorResult
- ErrorType =
DropboxApi::Errors::ListFolderError
Instance Method Summary collapse
-
#list_folder_get_latest_cursor(options = {}) ⇒ Object
A way to quickly get a cursor for the folder's state.
Methods included from OptionsValidator
Methods inherited from Rpc
#build_connection, #build_request, #request_body
Methods inherited from Base
Constructor Details
This class inherits a constructor from DropboxApi::Endpoints::Base
Instance Method Details
#list_folder_get_latest_cursor(options = {}) ⇒ Object
A way to quickly get a cursor for the folder's state. Unlike Client#list_folder, this doesn't return any entries. This endpoint is for app which only needs to know about new files and modifications and doesn't need to know about files that already exist in Dropbox.
28 29 30 31 32 33 34 35 36 37 38 39 40 41 |
# File 'lib/dropbox_api/endpoints/files/list_folder_get_latest_cursor.rb', line 28 add_endpoint :list_folder_get_latest_cursor do | = {}| ([ :path, :recursive, :include_media_info, :include_deleted, :include_has_explicit_shared_members ], ) [:recursive] ||= false [:include_media_info] ||= false [:include_deleted] ||= false perform_request end |