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.

schemaName
string

The name of the schema for the cache request.

tableName
string

The name of the table for the cache request.

incrementalCacheSchedule
object

This class represents a schedule for a cache request. It contains the type and expression of the schedule.

fullRefreshCacheSchedule
object

This class represents a schedule for a cache request. It contains the type and expression of the schedule.

Response

200 - */*
id
string

The ID of the cache.

appId
string

The ID of the application for the cache request.

catalogId
string

The ID of the catalog for the cache request.

schemaName
string

The name of the schema for the cache request.

tableName
string

The name of the table for the cache request.

incrementalCacheSchedule
object

This class represents a schedule for a cache request. It contains the type and expression of the schedule.

fullRefreshCacheSchedule
object

This class represents a schedule for a cache request. It contains the type and expression of the schedule.