tiled.client.base.BaseClient.patch_metadata
- BaseClient.patch_metadata(metadata_patch=None, specs_patch=None, content_type='application/json-patch+json')[source]
EXPERIMENTAL: Patch metadata using a JSON Patch (RFC6902).
This is subject to change or removal without notice.
- Parameters:
- metadata_patchList[dict], optional
JSON-serializable patch to be applied to metadata
- specs_patchList[dict], optional
JSON-serializable patch to be applied to metadata validation specifications list
- content_typestr
Mimetype of the patches. Acceptable values are:
“application/json-patch+json” (See https://datatracker.ietf.org/doc/html/rfc6902)
“application/merge-patch+json” (See https://datatracker.ietf.org/doc/html/rfc7386)
See also