module documentation

This namespace contains helpers for property and template metadata endpoints. These endpoints enable you to tag arbitrary key/value data to Dropbox files. The most basic unit in this namespace is the :class:`PropertyField`. These fields encapsulate the actual key/value data. Fields are added to a Dropbox file using a :class:`PropertyGroup`. Property groups contain a reference to a Dropbox file and a :class:`PropertyGroupTemplate`. Property groups are uniquely identified by the combination of their associated Dropbox file and template. The :class:`PropertyGroupTemplate` is a way of restricting the possible key names and value types of the data within a property group. The possible key names and value types are explicitly enumerated using :class:`PropertyFieldTemplate` objects. You can think of a property group template as a class definition for a particular key/value metadata object, and the property groups themselves as the instantiations of these objects. Templates are owned either by a user/app pair or team/app pair. Templates and their associated properties can't be accessed by any app other than the app that created them, and even then, only when the app is linked with the owner of the template (either a user or team). User-owned templates are accessed via the user-auth file_properties/templates/*_for_user endpoints, while team-owned templates are accessed via the team-auth file_properties/templates/*_for_team endpoints. Properties associated with either type of template can be accessed via the user-auth properties/* endpoints. Finally, properties can be accessed from a number of endpoints that return metadata, including `files/get_metadata`, and `files/list_folder`. Properties can also be added during upload, using `files/upload`.

Class AddPropertiesArg :ivar file_properties.AddPropertiesArg.path: A unique identifier for the file or folder. :ivar file_properties.AddPropertiesArg.property_groups: The property groups which are to be added to a Dropbox file...
Class AddPropertiesError This class acts as a tagged union. Only one of the ``is_*`` methods will return true. To get the associated value of a tag (if one exists), use the corresponding ``get_*`` method.
Class AddTemplateArg Undocumented
Class AddTemplateResult :ivar file_properties.AddTemplateResult.template_id: An identifier for template added by See :meth:`dropbox.dropbox_client.Dropbox.file_properties_templates_add_for_user` or :meth:`dropbox...
Class GetTemplateArg :ivar file_properties.GetTemplateArg.template_id: An identifier for template added by route See :meth:`dropbox.dropbox_client.Dropbox.file_properties_templates_add_for_user` or :meth:`dropbox...
Class GetTemplateResult Undocumented
Class InvalidPropertyGroupError This class acts as a tagged union. Only one of the ``is_*`` methods will return true. To get the associated value of a tag (if one exists), use the corresponding ``get_*`` method.
Class ListTemplateResult :ivar file_properties.ListTemplateResult.template_ids: List of identifiers for templates added by See :meth:`dropbox.dropbox_client.Dropbox.file_properties_templates_add_for_user` or :meth:`dropbox...
Class LogicalOperator Logical operator to join search queries together.
Class LookupError This class acts as a tagged union. Only one of the ``is_*`` methods will return true. To get the associated value of a tag (if one exists), use the corresponding ``get_*`` method.
Class LookUpPropertiesError This class acts as a tagged union. Only one of the ``is_*`` methods will return true. To get the associated value of a tag (if one exists), use the corresponding ``get_*`` method.
Class ModifyTemplateError This class acts as a tagged union. Only one of the ``is_*`` methods will return true. To get the associated value of a tag (if one exists), use the corresponding ``get_*`` method.
Class OverwritePropertyGroupArg :ivar file_properties.OverwritePropertyGroupArg.path: A unique identifier for the file or folder. :ivar file_properties.OverwritePropertyGroupArg.property_groups: The property groups "snapshot" updates to force apply...
Class PropertiesError This class acts as a tagged union. Only one of the ``is_*`` methods will return true. To get the associated value of a tag (if one exists), use the corresponding ``get_*`` method.
Class PropertiesSearchArg :ivar file_properties.PropertiesSearchArg.queries: Queries to search. :ivar file_properties.PropertiesSearchArg.template_filter: Filter results to contain only properties associated with these template IDs.
Class PropertiesSearchContinueArg :ivar file_properties.PropertiesSearchContinueArg.cursor: The cursor returned by your last call to :meth:`dropbox.dropbox_client.Dropbox.file_properties_properties_search` or :meth:`dropbox...
Class PropertiesSearchContinueError This class acts as a tagged union. Only one of the ``is_*`` methods will return true. To get the associated value of a tag (if one exists), use the corresponding ``get_*`` method.
Class PropertiesSearchError This class acts as a tagged union. Only one of the ``is_*`` methods will return true. To get the associated value of a tag (if one exists), use the corresponding ``get_*`` method.
Class PropertiesSearchMatch :ivar file_properties.PropertiesSearchMatch.id: The ID for the matched file or folder. :ivar file_properties.PropertiesSearchMatch.path: The path for the matched file or folder. :ivar file_properties...
Class PropertiesSearchMode This class acts as a tagged union. Only one of the ``is_*`` methods will return true. To get the associated value of a tag (if one exists), use the corresponding ``get_*`` method.
Class PropertiesSearchQuery :ivar file_properties.PropertiesSearchQuery.query: The property field value for which to search across templates. :ivar file_properties.PropertiesSearchQuery.mode: The mode with which to perform the search...
Class PropertiesSearchResult :ivar file_properties.PropertiesSearchResult.matches: A list (possibly empty) of matches for the query. :ivar file_properties.PropertiesSearchResult.cursor: Pass the cursor into :meth:`dropbox.
Class PropertyField Raw key/value data to be associated with a Dropbox file. Property fields are added to Dropbox files as a :class:`PropertyGroup`.
Class PropertyFieldTemplate Defines how a single property field may be structured. Used exclusively by :class:`PropertyGroupTemplate`.
Class PropertyGroup A subset of the property fields described by the corresponding :class:`PropertyGroupTemplate`. Properties are always added to a Dropbox file as a :class:`PropertyGroup`. The possible key names and value types in this group are defined by the corresponding :class:`PropertyGroupTemplate`.
Class PropertyGroupTemplate Defines how a property group may be structured.
Class PropertyGroupUpdate :ivar file_properties.PropertyGroupUpdate.template_id: A unique identifier for a property template. :ivar file_properties.PropertyGroupUpdate.add_or_update_fields: Property fields to update. If the property field already exists, it is updated...
Class PropertyType Data type of the given property field added.
Class RemovePropertiesArg :ivar file_properties.RemovePropertiesArg.path: A unique identifier for the file or folder. :ivar file_properties.RemovePropertiesArg.property_template_ids: A list of identifiers for a template created by :meth:`dropbox...
Class RemovePropertiesError This class acts as a tagged union. Only one of the ``is_*`` methods will return true. To get the associated value of a tag (if one exists), use the corresponding ``get_*`` method.
Class RemoveTemplateArg :ivar file_properties.RemoveTemplateArg.template_id: An identifier for a template created by :meth:`dropbox.dropbox_client.Dropbox.file_properties_templates_add_for_user` or :meth:`dropbox...
Class TemplateError This class acts as a tagged union. Only one of the ``is_*`` methods will return true. To get the associated value of a tag (if one exists), use the corresponding ``get_*`` method.
Class TemplateFilter This class acts as a tagged union. Only one of the ``is_*`` methods will return true. To get the associated value of a tag (if one exists), use the corresponding ``get_*`` method.
Class TemplateFilterBase This class acts as a tagged union. Only one of the ``is_*`` methods will return true. To get the associated value of a tag (if one exists), use the corresponding ``get_*`` method.
Class TemplateOwnerType This class acts as a tagged union. Only one of the ``is_*`` methods will return true. To get the associated value of a tag (if one exists), use the corresponding ``get_*`` method.
Class UpdatePropertiesArg :ivar file_properties.UpdatePropertiesArg.path: A unique identifier for the file or folder. :ivar file_properties.UpdatePropertiesArg.update_property_groups: The property groups "delta" updates to apply.
Class UpdatePropertiesError This class acts as a tagged union. Only one of the ``is_*`` methods will return true. To get the associated value of a tag (if one exists), use the corresponding ``get_*`` method.
Class UpdateTemplateArg :ivar file_properties.UpdateTemplateArg.template_id: An identifier for template added by See :meth:`dropbox.dropbox_client.Dropbox.file_properties_templates_add_for_user` or :meth:`dropbox...
Class UpdateTemplateResult :ivar file_properties.UpdateTemplateResult.template_id: An identifier for template added by route See :meth:`dropbox.dropbox_client.Dropbox.file_properties_templates_add_for_user` or :meth:`dropbox...
Constant ROUTES Undocumented
Variable AddPropertiesArg_validator Undocumented
Variable AddPropertiesError_validator Undocumented
Variable AddTemplateArg_validator Undocumented
Variable AddTemplateResult_validator Undocumented
Variable GetTemplateArg_validator Undocumented
Variable GetTemplateResult_validator Undocumented
Variable Id_validator Undocumented
Variable InvalidPropertyGroupError_validator Undocumented
Variable ListTemplateResult_validator Undocumented
Variable LogicalOperator_validator Undocumented
Variable LookupError_validator Undocumented
Variable LookUpPropertiesError_validator Undocumented
Variable ModifyTemplateError_validator Undocumented
Variable OverwritePropertyGroupArg_validator Undocumented
Variable PathOrId_validator Undocumented
Variable properties_add Undocumented
Variable properties_overwrite Undocumented
Variable properties_remove Undocumented
Variable properties_search Undocumented
Variable properties_search_continue Undocumented
Variable properties_update Undocumented
Variable PropertiesError_validator Undocumented
Variable PropertiesSearchArg_validator Undocumented
Variable PropertiesSearchContinueArg_validator Undocumented
Variable PropertiesSearchContinueError_validator Undocumented
Variable PropertiesSearchCursor_validator Undocumented
Variable PropertiesSearchError_validator Undocumented
Variable PropertiesSearchMatch_validator Undocumented
Variable PropertiesSearchMode_validator Undocumented
Variable PropertiesSearchQuery_validator Undocumented
Variable PropertiesSearchResult_validator Undocumented
Variable PropertyField_validator Undocumented
Variable PropertyFieldTemplate_validator Undocumented
Variable PropertyGroup_validator Undocumented
Variable PropertyGroupTemplate_validator Undocumented
Variable PropertyGroupUpdate_validator Undocumented
Variable PropertyType_validator Undocumented
Variable RemovePropertiesArg_validator Undocumented
Variable RemovePropertiesError_validator Undocumented
Variable RemoveTemplateArg_validator Undocumented
Variable TemplateError_validator Undocumented
Variable TemplateFilter_validator Undocumented
Variable TemplateFilterBase_validator Undocumented
Variable TemplateId_validator Undocumented
Variable TemplateOwnerType_validator Undocumented
Variable templates_add_for_team Undocumented
Variable templates_add_for_user Undocumented
Variable templates_get_for_team Undocumented
Variable templates_get_for_user Undocumented
Variable templates_list_for_team Undocumented
Variable templates_list_for_user Undocumented
Variable templates_remove_for_team Undocumented
Variable templates_remove_for_user Undocumented
Variable templates_update_for_team Undocumented
Variable templates_update_for_user Undocumented
Variable UpdatePropertiesArg_validator Undocumented
Variable UpdatePropertiesError_validator Undocumented
Variable UpdateTemplateArg_validator Undocumented
Variable UpdateTemplateResult_validator Undocumented

Undocumented

Value
{'properties/add': properties_add,
 'properties/overwrite': properties_overwrite,
 'properties/remove': properties_remove,
 'properties/search': properties_search,
 'properties/search/continue': properties_search_continue,
 'properties/update': properties_update,
 'templates/add_for_team': templates_add_for_team,
...
AddPropertiesArg_validator = (source)

Undocumented

AddPropertiesError_validator = (source)

Undocumented

AddTemplateArg_validator = (source)

Undocumented

AddTemplateResult_validator = (source)

Undocumented

GetTemplateArg_validator = (source)

Undocumented

GetTemplateResult_validator = (source)

Undocumented

Id_validator = (source)

Undocumented

InvalidPropertyGroupError_validator = (source)

Undocumented

ListTemplateResult_validator = (source)

Undocumented

LogicalOperator_validator = (source)

Undocumented

LookupError_validator = (source)

Undocumented

LookUpPropertiesError_validator = (source)

Undocumented

ModifyTemplateError_validator = (source)

Undocumented

OverwritePropertyGroupArg_validator = (source)

Undocumented

PathOrId_validator = (source)

Undocumented

properties_add = (source)

Undocumented

properties_overwrite = (source)

Undocumented

properties_remove = (source)

Undocumented

properties_search = (source)

Undocumented

properties_search_continue = (source)

Undocumented

properties_update = (source)

Undocumented

PropertiesError_validator = (source)

Undocumented

PropertiesSearchArg_validator = (source)

Undocumented

PropertiesSearchContinueArg_validator = (source)

Undocumented

PropertiesSearchContinueError_validator = (source)

Undocumented

PropertiesSearchCursor_validator = (source)

Undocumented

PropertiesSearchError_validator = (source)

Undocumented

PropertiesSearchMatch_validator = (source)

Undocumented

PropertiesSearchMode_validator = (source)

Undocumented

PropertiesSearchQuery_validator = (source)

Undocumented

PropertiesSearchResult_validator = (source)

Undocumented

PropertyField_validator = (source)

Undocumented

PropertyFieldTemplate_validator = (source)

Undocumented

PropertyGroup_validator = (source)

Undocumented

PropertyGroupTemplate_validator = (source)

Undocumented

PropertyGroupUpdate_validator = (source)

Undocumented

PropertyType_validator = (source)

Undocumented

RemovePropertiesArg_validator = (source)

Undocumented

RemovePropertiesError_validator = (source)

Undocumented

RemoveTemplateArg_validator = (source)

Undocumented

TemplateError_validator = (source)

Undocumented

TemplateFilter_validator = (source)

Undocumented

TemplateFilterBase_validator = (source)

Undocumented

TemplateId_validator = (source)

Undocumented

TemplateOwnerType_validator = (source)

Undocumented

templates_add_for_team = (source)

Undocumented

templates_add_for_user = (source)

Undocumented

templates_get_for_team = (source)

Undocumented

templates_get_for_user = (source)

Undocumented

templates_list_for_team = (source)

Undocumented

templates_list_for_user = (source)

Undocumented

templates_remove_for_team = (source)

Undocumented

templates_remove_for_user = (source)

Undocumented

templates_update_for_team = (source)

Undocumented

templates_update_for_user = (source)

Undocumented

UpdatePropertiesArg_validator = (source)

Undocumented

UpdatePropertiesError_validator = (source)

Undocumented

UpdateTemplateArg_validator = (source)

Undocumented

UpdateTemplateResult_validator = (source)

Undocumented