Class: DropboxApi::Endpoints::Files::DeleteBatchCheck
- Defined in:
- lib/dropbox_api/endpoints/files/delete_batch_check.rb
Constant Summary collapse
- Method =
:post
- Path =
"/2/files/delete_batch/check".freeze
- ResultType =
DropboxApi::Results::DeleteBatchResult
- ErrorType =
DropboxApi::Errors::PollError
Instance Method Summary collapse
-
#delete_batch_check(async_job_id) ⇒ :in_progress, Array
Returns the status of an asynchronous job for delete_batch.
Methods inherited from Rpc
#build_request, #initialize, #request_body
Methods inherited from Base
Constructor Details
This class inherits a constructor from DropboxApi::Endpoints::Rpc
Instance Method Details
#delete_batch_check(async_job_id) ⇒ :in_progress, Array
Returns the status of an asynchronous job for delete_batch. If success, it returns list of result for each entry.
14 15 16 17 18 |
# File 'lib/dropbox_api/endpoints/files/delete_batch_check.rb', line 14 add_endpoint :delete_batch_check do |async_job_id| perform_request({ :async_job_id => async_job_id }) end |