POST
/
data
/
projects
/
{projectId}
/
semantic-catalogs
/
{catalogId}
curl --request POST \
  --url https://partner.peaka.studio/api/v1/data/projects/{projectId}/semantic-catalogs/{catalogId} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "schemaName": "mySchema",
  "tableName": "myTableName",
  "queryId": "788890918747898752"
}'
{
  "tableId": "688890918747898103",
  "catalogName": "myCatalog",
  "schemaName": "mySchema",
  "tableName": "myTableName"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

projectId
string
required
catalogId
string
required

Body

application/json
Semantic Table Request

The body is of type object.

Response

200 - application/json
Table created

Represents a table in a schema.