Class: DropboxApi::Endpoints::Users::GetAccountBatch

Inherits:
Rpc
  • Object
show all
Defined in:
lib/dropbox_api/endpoints/users/get_account_batch.rb

Constant Summary collapse

Method =
:post
Path =
"/2/users/get_account_batch".freeze
ResultType =
DropboxApi::Results::BasicAccountBatch
ErrorType =
DropboxApi::Errors::GetAccountError

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

#get_account_batch(account_ids) ⇒ Array<BasicAccount>

Get information about multiple user accounts. At most 300 accounts may be queried per request.

Parameters:

  • account_ids (Array<String>)

    List of user account identifiers. Should not contain any duplicate account IDs.

Returns:

  • (Array<BasicAccount>)

    Basic information about any account.


14
15
16
# File 'lib/dropbox_api/endpoints/users/get_account_batch.rb', line 14

add_endpoint :get_account_batch do ||
  perform_request :account_ids => 
end