Skip to main content

Update file metadata

POST 

/api/v1/storage/update-file-metadata

Replaces the metadata map and tag list when they survive decoding as nonnil values; it does not merge individual map keys. A nonempty description replaces the old description. This public shape has no reliable explicit clear operation for every empty value. Read the current record and submit the complete intended map/list; concurrent updates can overwrite one another.

Update metadata​

This operation cannot clear tags with []; an empty description leaves the previous description unchanged.

Request​

Responses​

File metadata updated

Document ID: DOC-CP-files-data-api-updateFileMetadata. Section identities and revisions.

SectionStable reference
OverviewDOC-CP-files-data-api-updateFileMetadata#overview
RequestDOC-CP-files-data-api-updateFileMetadata#request
ResponsesDOC-CP-files-data-api-updateFileMetadata#responses