External Metadata
ExternalMetadata object
- namestringPublic Preview
Name of the external metadata object.
- system_typestringPublic Preview
Type of external system.
- entity_typestringPublic Preview
Type of entity within the external system.
- urlstringPublic Preview
URL associated with the external metadata object.
- descriptionstringPublic Preview
User-provided free-form text description.
- columnsarray of stringPublic Preview
List of columns associated with the external metadata object.
- propertiesobjectPublic Preview
A map of key-value properties attached to the external metadata object.
- ownerstringPublic Preview
Owner of the external metadata object.
- metastore_idstringPublic Preview
Unique identifier of parent metastore.
- create_timestringPublic Preview
Time at which this external metadata object was created.
- created_bystringPublic Preview
Username of external metadata object creator.
- update_timestringPublic Preview
Time at which this external metadata object was last modified.
- updated_bystringPublic Preview
Username of user who last modified external metadata object.
- idstringPublic Preview
Unique identifier of the external metadata object.
Get Public Preview
GET
Gets the specified external metadata object in a metastore. The caller must be a metastore admin, the owner of the external metadata object, or a user that has the BROWSE privilege.
API scopes: unity-catalog
Parameters
- namestringpath
Response
Returns the ExternalMetadata object.
List Public Preview
GET
Gets an array of external metadata objects in the metastore. If the caller is the metastore admin, all external metadata objects will be retrieved. Otherwise, only external metadata objects that the caller has BROWSE on will be retrieved. There is no guarantee of a specific ordering of the elements in the array.
API scopes: unity-catalog
Parameters
- page_sizeint32query
Specifies the maximum number of external metadata objects to return in a single response. The value must be less than or equal to 1000.
- page_tokenstringquery
Opaque pagination token to go to next page based on previous query.
Response
Returns a list of ExternalMetadata objects.
Create Public Preview
POST
Creates a new external metadata object in the parent metastore if the caller is a metastore admin or has the CREATE_EXTERNAL_METADATA privilege. Grants BROWSE to all account users upon creation by default.
API scopes: unity-catalog
Request body
- external_metadataobject
Show child attributesHide child attributes
- namestring
Name of the external metadata object.
- system_typestring
Type of external system.
- entity_typestring
Type of entity within the external system.
- urlstring
URL associated with the external metadata object.
- descriptionstring
User-provided free-form text description.
- columnsarray of string
List of columns associated with the external metadata object.
- propertiesobject
A map of key-value properties attached to the external metadata object.
- ownerstring
Owner of the external metadata object.
- metastore_idstring
Unique identifier of parent metastore.
- create_timestring
Time at which this external metadata object was created.
- created_bystring
Username of external metadata object creator.
- update_timestring
Time at which this external metadata object was last modified.
- updated_bystring
Username of user who last modified external metadata object.
- idstring
Unique identifier of the external metadata object.
Response
Returns the ExternalMetadata object.
Update Public Preview
PATCH
Updates the external metadata object that matches the supplied name. The caller can only update either the owner or other metadata fields in one request. The caller must be a metastore admin, the owner of the external metadata object, or a user that has the MODIFY privilege. If the caller is updating the owner, they must also have the MANAGE privilege.
API scopes: unity-catalog
Parameters
- external_metadataobjectpath
Show child attributesHide child attributes
- namestring
Name of the external metadata object.
- system_typestring
Type of external system.
- entity_typestring
Type of entity within the external system.
- urlstring
URL associated with the external metadata object.
- descriptionstring
User-provided free-form text description.
- columnsarray of string
List of columns associated with the external metadata object.
- propertiesobject
A map of key-value properties attached to the external metadata object.
- ownerstring
Owner of the external metadata object.
- metastore_idstring
Unique identifier of parent metastore.
- create_timestring
Time at which this external metadata object was created.
- created_bystring
Username of external metadata object creator.
- update_timestring
Time at which this external metadata object was last modified.
- updated_bystring
Username of user who last modified external metadata object.
- idstring
Unique identifier of the external metadata object.
- update_maskstringquery
Response
Returns the ExternalMetadata object.
Delete Public Preview
DELETE
Deletes the external metadata object that matches the supplied name. The caller must be a metastore admin, the owner of the external metadata object, or a user that has the MANAGE privilege.
API scopes: unity-catalog
Parameters
- namestringpath