Dropbox

Links

    Dropbox API

    Getting access, Developing, Testing

    Back to Dropbox

    File Properties - Properties - Update

    Add, update or remove properties associated with the supplied file and templates. This endpoint should be used instead of :route: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 :route:properties/overwrite will delete any fields that are omitted from a property group.

    Input

    type: object properties: data: type: object description: | path: A unique identifier for the file or folder. update_property_groups: The property groups "delta" updates to apply. properties: path: type: string description: A unique identifier for the file or folder. update_property_groups: type: array description: The property groups "delta" updates to apply. items: type: object description: > template_id: A unique identifier for a property template. add_or_update_fields: Property fields to update. If the property field already exists, it is updated. If the property field doesn't exist, the property group is added. remove_fields: Property fields to remove (by name), provided they exist. properties: remove_fields: type: array description: Property fields to remove (by name), provided they exist. items: type: string template_id: type: string description: A unique identifier for a property template. add_or_update_fields: type: array description: >- Property fields to update. If the property field already exists, it is updated. If the property field doesn't exist, the property group is added. items: type: object description: > Raw key/value data to be associated with a Dropbox file. Property fields are added to Dropbox files as a :type:`PropertyGroup`. name: Key of the property field associated with a file and template. Keys can be up to 256 bytes. value: Value of the property field associated with a file and template. Values can be up to 1024 bytes. properties: name: type: string description: >- Key of the property field associated with a file and template. Keys can be up to 256 bytes. value: type: string description: >- Value of the property field associated with a file and template. Values can be up to 1024 bytes. title: Data