Sha256: dad359c6fd3ca51044b796e3268e053324a14b2413b861859c565e0e229bb3b7

Contents?: true

Size: 806 Bytes

Versions: 2

Compression:

Stored size: 806 Bytes

Contents

module DropboxApi::Endpoints::Files
  class CopyBatchCheck < DropboxApi::Endpoints::Rpc
    Method      = :post
    Path        = '/2/files/copy_batch/check_v2'.freeze
    ResultType  = DropboxApi::Results::RelocationBatchResult
    ErrorType   = DropboxApi::Errors::PollError

    # Returns the status of an asynchronous job for {Client#copy_batch}. It
    # returns a list of results for each entry.
    #
    # @param async_job_id [String] Id of the asynchronous job.
    #   This is the value of a response returned from the method that
    #   launched the job.
    # @return [:in_progress, Array] This could be either the `:in_progress`
    #   flag or a list of job statuses.
    add_endpoint :copy_batch_check do |async_job_id|
      perform_request :async_job_id => async_job_id
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
dropbox_api-0.1.18 lib/dropbox_api/endpoints/files/copy_batch_check.rb
dropbox_api-0.1.17 lib/dropbox_api/endpoints/files/copy_batch_check.rb