tiled.client.container.Container.create_container

Container.create_container(key=None, *, metadata=None, specs=None, access_tags=None)[source]

Create a new, empty container.

Parameters:
keystr, optional

Key (name) for this new node. If None, the server will provide a unique key.

metadatadict, optional

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

specsList[Spec], 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.