tiled.client.base.BaseClient.replace_metadata

BaseClient.replace_metadata(metadata=None, specs=None, access_tags=None, drop_revision=False)[source]

EXPERIMENTAL: Replace metadata entirely (see update_metadata).

This is subject to change or removal without notice.

Parameters:
metadatadict, optional

User metadata. May be nested. Must contain only basic types (e.g. numbers, strings, lists, dicts) that are JSON-serializable.

specsList[str], optional

List of names that are used to label that the data and/or metadata conform to some named standard specification.

access_tags: List[str], optional

Server-specific authZ tags in list form, used to confer access to the node.

drop_revisionbool, optional

Replace current version without saving current version as a revision. Use with caution.