Class: DropboxApi::Endpoints::Files::ListFolderContinue

Inherits:
Rpc
  • Object
show all
Defined in:
lib/dropbox_api/endpoints/files/list_folder_continue.rb

Constant Summary collapse

Method =

NOTE: This hasn't been tested with real data, I couldn't make a query long enough to enable the has_more attribute in the ListFolderResult.

:post
Path =
"/2/files/list_folder/continue".freeze
ResultType =
DropboxApi::Results::ListFolderResult
ErrorType =
DropboxApi::Errors::ListFolderContinueError

Instance Method Summary collapse

Methods inherited from Rpc

#build_request, #initialize, #request_body

Methods inherited from Base

add_endpoint

Constructor Details

This class inherits a constructor from DropboxApi::Endpoints::Rpc

Instance Method Details

#list_folder_continue(cursor) ⇒ Object

Once a cursor has been retrieved from list_folder, use this to paginate through all files and retrieve updates to the folder.

Parameters:

  • cursor (String)

    The cursor returned by your last call to list_folder or list_folder_continue.


16
17
18
# File 'lib/dropbox_api/endpoints/files/list_folder_continue.rb', line 16

add_endpoint :list_folder_continue do |cursor|
  perform_request :cursor => cursor
end