POST
/
data
/
projects
/
{projectId}
/
catalogs
curl --request POST \
  --url https://partner.peaka.studio/api/v1/data/projects/{projectId}/catalogs \
  --header 'Content-Type: application/json' \
  --data '{
  "name": "exampleAirtableCatalog",
  "catalogType": "airtable",
  "connectionId": "8db17e23-29de-4dab-8886-af9717e0e742"
}'
{
  "id": "626654862255325504",
  "name": "exampleairtablecatalog",
  "displayName": "exampleAirtableCatalog",
  "catalogType": "airtable",
  "connectionId": "8db17e23-29de-4dab-8886-af9717e0e742"
}

Path Parameters

projectId
string
required

Body

application/json
name
string

Name of the catalog

connectionId
string

Connection ID.

This is the ID of the connection that is used to connect to the catalog.

You must create a connection before creating a catalog.

Response

200 - application/json

This class represents a Catalog. It contains the id, name, display name, type, and connection ID of the catalog.

id
string

The ID of the catalog.

name
string

The name of the catalog.

displayName
string

The display name of the catalog.

catalogType
string

The type of the catalog.

connectionId
string

The connection ID of the catalog.