POST
/
data
/
projects
/
{projectId}
/
cache
curl --request POST \
  --url https://partner.peaka.studio/api/v1/data/projects/{projectId}/cache \
  --header 'Content-Type: application/json' \
  --data '{
  "catalogId": "627249916703408649",
  "schemaName": "payment",
  "tableName": "customers"
}'

Path Parameters

projectId
string
required

Body

application/json

This class represents a request to cache data. It contains the catalog ID, schema name, table name, and schedule of the cache request.

catalogId
string

The ID of the catalog for the cache request.

fullRefreshCacheSchedule
object

This class represents a schedule for a materialized query.

incrementalCacheSchedule
object

This class represents a schedule for a materialized query.

schemaName
string

The name of the schema for the cache request.

tableName
string

The name of the table for the cache request.

Response

200 - */*
appId
string

The ID of the application for the cache request.

catalogId
string

The ID of the catalog for the cache request.

fullRefreshCacheSchedule
object

This class represents a schedule for a materialized query.

id
string

The ID of the cache.

incrementalCacheSchedule
object

This class represents a schedule for a materialized query.

schemaName
string

The name of the schema for the cache request.

tableName
string

The name of the table for the cache request.