Get table metadata from a data store
get/admin/dataStores/{dataStoreId}/tables/{tableName}
Returns table metadata from a data store for the specified data store ID and table name. This endpoint requires the "svi.administration.core_metadata" capability.
1{2 "name": "person",3 "schema": "my_schema",4 "type": "TABLE",5 "databaseProductName": "PostgreSQL",6 "columns": [7 {8 "name": "birthday",9 "dataType": "TIMESTAMP",10 "required": false,11 "primaryKeyColumn": false,12 "ordinalPosition": 0,13 "primaryKeySeqNo": 014 },15 {16 "name": "created_at_dttm",17 "dataType": "TIMESTAMP",18 "required": true,19 "primaryKeyColumn": false,20 "ordinalPosition": 1,21 "primaryKeySeqNo": 022 },23 {24 "name": "created_by_user_id",25 "dataType": "STRING",26 "length": 255,27 "required": true,28 "primaryKeyColumn": false,29 "ordinalPosition": 2,30 "primaryKeySeqNo": 031 },32 {33 "name": "first_name",34 "dataType": "STRING",35 "length": 15,36 "required": false,37 "primaryKeyColumn": false,38 "ordinalPosition": 3,39 "primaryKeySeqNo": 040 },41 {42 "name": "id",43 "dataType": "STRING",44 "length": 36,45 "required": true,46 "primaryKeyColumn": true,47 "ordinalPosition": 5,48 "primaryKeySeqNo": 149 },50 {51 "name": "last_name",52 "dataType": "STRING",53 "length": 15,54 "required": false,55 "primaryKeyColumn": false,56 "ordinalPosition": 6,57 "primaryKeySeqNo": 058 },59 {60 "name": "last_updated_at_dttm",61 "dataType": "TIMESTAMP",62 "required": true,63 "primaryKeyColumn": false,64 "ordinalPosition": 7,65 "primaryKeySeqNo": 066 },67 {68 "name": "last_updated_by_user_id",69 "dataType": "STRING",70 "length": 255,71 "required": true,72 "primaryKeyColumn": false,73 "ordinalPosition": 8,74 "primaryKeySeqNo": 075 },76 {77 "name": "version",78 "dataType": "LONG",79 "required": true,80 "primaryKeyColumn": false,81 "ordinalPosition": 9,82 "primaryKeySeqNo": 083 }84 ]85}