Module file_properties

Source
Available on crate features sync_routes and dbx_file_properties only.

Structs§

AddPropertiesArg
AddTemplateArg
AddTemplateResult
GetTemplateArg
GetTemplateResult
ListTemplateResult
OverwritePropertyGroupArg
PropertiesSearchArg
PropertiesSearchContinueArg
PropertiesSearchMatch
PropertiesSearchQuery
PropertiesSearchResult
PropertyField
Raw key/value data to be associated with a Dropbox file. Property fields are added to Dropbox files as a PropertyGroup.
PropertyFieldTemplate
Defines how a single property field may be structured. Used exclusively by PropertyGroupTemplate.
PropertyGroup
A subset of the property fields described by the corresponding PropertyGroupTemplate. Properties are always added to a Dropbox file as a PropertyGroup. The possible key names and value types in this group are defined by the corresponding PropertyGroupTemplate.
PropertyGroupTemplate
Defines how a property group may be structured.
PropertyGroupUpdate
RemovePropertiesArg
RemoveTemplateArg
UpdatePropertiesArg
UpdateTemplateArg
UpdateTemplateResult

Enums§

AddPropertiesError
InvalidPropertyGroupError
LogicalOperator
Logical operator to join search queries together.
LookUpPropertiesError
LookupError
ModifyTemplateError
PropertiesError
PropertiesSearchContinueError
PropertiesSearchError
PropertiesSearchMode
PropertyType
Data type of the given property field added.
RemovePropertiesError
TemplateError
TemplateFilter
TemplateFilterBase
TemplateOwnerType
UpdatePropertiesError

Functions§

properties_add
Add property groups to a Dropbox file. See templates_add_for_user() or templates_add_for_team() to create new templates.
properties_overwrite
Overwrite property groups associated with a file. This endpoint should be used instead of properties_update() when property groups are being updated via a “snapshot” instead of via a “delta”. In other words, this endpoint will delete all omitted fields from a property group, whereas properties_update() will only delete fields that are explicitly marked for deletion.
properties_remove
Permanently removes the specified property group from the file. To remove specific property field key value pairs, see properties_update(). To update a template, see templates_update_for_user() or templates_update_for_team(). To remove a template, see templates_remove_for_user() or templates_remove_for_team().
properties_search
Search across property templates for particular property field values.
properties_search_continue
Once a cursor has been retrieved from properties_search(), use this to paginate through all search results.
properties_update
Add, update or remove properties associated with the supplied file and templates. This endpoint should be used instead of properties_overwrite() when property groups are being updated via a “delta” instead of via a “snapshot” . In other words, this endpoint will not delete any omitted fields from a property group, whereas properties_overwrite() will delete any fields that are omitted from a property group.
templates_add_for_team
Add a template associated with a team. See properties_add() to add properties to a file or folder. Note: this endpoint will create team-owned templates.
templates_add_for_user
Add a template associated with a user. See properties_add() to add properties to a file. This endpoint can’t be called on a team member or admin’s behalf.
templates_get_for_team
Get the schema for a specified template.
templates_get_for_user
Get the schema for a specified template. This endpoint can’t be called on a team member or admin’s behalf.
templates_list_for_team
Get the template identifiers for a team. To get the schema of each template use templates_get_for_team().
templates_list_for_user
Get the template identifiers for a team. To get the schema of each template use templates_get_for_user(). This endpoint can’t be called on a team member or admin’s behalf.
templates_remove_for_team
Permanently removes the specified template created from templates_add_for_user(). All properties associated with the template will also be removed. This action cannot be undone.
templates_remove_for_user
Permanently removes the specified template created from templates_add_for_user(). All properties associated with the template will also be removed. This action cannot be undone.
templates_update_for_team
Update a template associated with a team. This route can update the template name, the template description and add optional properties to templates.
templates_update_for_user
Update a template associated with a user. This route can update the template name, the template description and add optional properties to templates. This endpoint can’t be called on a team member or admin’s behalf.

Type Aliases§

Id
PathOrId
PropertiesSearchCursor
TemplateId