Retrieve Metadata.

post

http://{host}:{port}/veridata/v1/services/configuration/connections/{Id}/metadata

Required Role: Administrator, SuperUser, DetailMonitoringOperator, MonitoringOperator, CommandLineOperator

Returns a list of metadata such as catalog/pdb/schema/table/partition/column.

Request

Path Parameters
Supported Media Types
Request Body - application/json ()
Root Schema : schema
Type: object
Defines an object.
Show Source
Nested Schema : enscribeInfo
Type: array
Show Source
Nested Schema : requestTypes
Type: array
Type of metadata object such as catalog,schema,table, or partition. Depending on requestType, other fields are needed to generate metadata. For e.g. requestType Catalog will not need any extra information but requestType Table would need schemaName. requestType TABLE returns VIEW details also in response.
Show Source
  • Allowed Values: [ "CATALOG", "SCHEMA", "TABLE", "PARTITION", "COLUMN" ]
Nested Schema : EnscribeAttributeRequest
Type: object
Show Source
  • Allowed Values: [ "AltKey", "Dictionary", "Record", "ExpandDDLRedefs", "ExpandDDLResolveDupAppend", "ExpandDDLResolveDupPrepend", "ExpandDDLExpandGroupArrays", "ExpandDDLFixLongNames", "ExpandDDLMaxColNameLen", "ExpandDDLSeparator", "ExpandDDLZeroFill" ]
Back to Top

Response

Supported Media Types

200 Response

List of the meta objects.
Body ()
Root Schema : schema
Type: array
Show Source
Nested Schema : ResponseMetaDataDefinition
Type: object
Defines an object.
Show Source

400 Response

Bad Request.
Body ()
Root Schema : Error
Type: object
Show Source

401 Response

Unauthorized.
Body ()
Root Schema : Error
Type: object
Show Source

404 Response

Not Found.
Body ()
Root Schema : Error
Type: object
Show Source

500 Response

Server Error.
Body ()
Root Schema : Error
Type: object
Show Source
Back to Top