English

Metavault API - Get environment database table column

GetTableColumn - GET

Path

/api/projects/{projectId}/environments/{environmentName}/schemas/{schemaName}/tables/{tableName}/columns/{column}

Http Method

GET

Overview

Retrieve a specific column in a specific table in the specified environment’s database schema.

See: Metavault API - Get environment list for environments.

Required permissions

  • Read access to the specified environment. ENVIRONMENT READ

OR

  • Deploy access to the specified environment. ENVIRONMENT DEPLOY

Request

Path parameters

Parameter

Type

Required

Description

Example

environmentName

string

Yes

The name of the environment.

“modeling“

schemaName

string

Yes

The name of the schema.

“stg“

tableName

string

Yes

The name of the table

“employees“

column

string

Yes

The name of the column

“name“

Response

Success response (200 OK)

JSON
{
  "name": "name",
  "length": 255,
  "dataType": "String",
  "type": "String",
  "isIndexed": false,
  "isNullable": true,
  "isPrimaryKey": false,
  "typeFullName": "VARCHAR(255)"
}