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

Copy Markdown View Source

Dropbox file_properties/* endpoints — property groups and templates.

Summary

Functions

POST file_properties/properties/add.

POST file_properties/properties/overwrite.

POST file_properties/properties/remove.

POST file_properties/properties/search.

POST file_properties/properties/search/continue.

POST file_properties/properties/update.

POST file_properties/templates/add_for_user.

POST file_properties/templates/get_for_user.

POST file_properties/templates/list_for_user — empty/null body.

POST file_properties/templates/remove_for_user.

POST file_properties/templates/update_for_user.

Types

opts()

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

result()

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

Functions

properties_add(path, property_groups, opts \\ [])

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

POST file_properties/properties/add.

properties_overwrite(path, property_groups, opts \\ [])

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

POST file_properties/properties/overwrite.

properties_remove(path, property_template_ids, opts \\ [])

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

POST file_properties/properties/remove.

properties_search(queries, opts \\ [])

@spec properties_search([map()], opts()) :: result()

POST file_properties/properties/search.

properties_search_continue(cursor, opts \\ [])

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

POST file_properties/properties/search/continue.

properties_update(path, update_property_groups, opts \\ [])

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

POST file_properties/properties/update.

templates_add_for_user(name, description, fields, opts \\ [])

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

POST file_properties/templates/add_for_user.

templates_get_for_user(template_id, opts \\ [])

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

POST file_properties/templates/get_for_user.

templates_list_for_user(opts \\ [])

@spec templates_list_for_user(opts()) :: result()

POST file_properties/templates/list_for_user — empty/null body.

templates_remove_for_user(template_id, opts \\ [])

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

POST file_properties/templates/remove_for_user.

templates_update_for_user(template_id, opts \\ [])

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

POST file_properties/templates/update_for_user.