apply_annotations
Commit all staged annotation changes to the Deriva catalog, applying updates made via display annotations, visible columns, and foreign keys. Ensure your metadata is saved and synchronized.
Instructions
Apply all staged annotation changes to the catalog.
This commits any annotation changes made via set_display_annotation, set_visible_columns, set_visible_foreign_keys, set_table_display, or set_column_display to the remote catalog.
Returns: JSON with status and details of the apply operation.
Example workflow: 1. get_table_annotations("Image") # Check current state 2. set_display_annotation("Image", annotation={"name": "Images"}) 3. set_visible_columns("Image", {"compact": ["RID", "Filename"]}) 4. apply_annotations() # Commit all changes
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |