MetadataWriteRequest¶
- class tracdap.api.MetadataWriteRequest¶
Request to create or update an object in the TRAC metadata store.
See also
- definition: tracdap.metadata.ObjectDefinition | None¶
New object definition to save.
A definition is required to create or update an object, for tag updates the definition field should be left blank.
This field should be omitted for tag update operations.
- objectType: tracdap.metadata.ObjectType¶
Object type for the requested operation, always required.
- priorVersion: tracdap.metadata.TagSelector | None¶
Prior object/tag version to use for update operations.
This field should be omitted when creating a new object.
- tagUpdates: List[tracdap.metadata.TagUpdate]¶
Tag update operations to be applied.
The updates are applied in order and must all succeeded in order for the request to be successful. If the API call fails for any reason, none of the requested tag updates will be applied.
- tenant: str¶
Tenant code for the requested operation, always required.