Noizu.Dropbox.Api.Users (Noizu Dropbox v0.1.0)

Copy Markdown View Source

Dropbox users/* endpoints — account info and space usage.

Summary

Functions

POST users/features/get_values.

POST users/get_account.

POST users/get_account_batch.

POST users/get_current_account — empty/null body.

POST users/get_space_usage — empty/null body.

Types

opts()

@type opts() :: keyword() | map()

result()

@type result() :: {:ok, term()} | {:error, Noizu.Dropbox.Error.t()}

Functions

features_get_values(features, opts \\ [])

@spec features_get_values([map() | String.t() | atom()], opts()) :: result()

POST users/features/get_values.

get_account(account_id, opts \\ [])

@spec get_account(String.t(), opts()) :: result()

POST users/get_account.

get_account_batch(account_ids, opts \\ [])

@spec get_account_batch([String.t()], opts()) :: result()

POST users/get_account_batch.

get_current_account(opts \\ [])

@spec get_current_account(opts()) :: result()

POST users/get_current_account — empty/null body.

get_space_usage(opts \\ [])

@spec get_space_usage(opts()) :: result()

POST users/get_space_usage — empty/null body.