curl --request POST \
--url https://partner.peaka.studio/api/v1/data/projects/{projectId}/cache \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"id": "960bd651-7b3c-4511-9a88-18e14ac7742a",
"catalogId": "627249916703408649",
"schemaName": "payment",
"tableName": "customers"
}'
{
"id": "<string>",
"catalogId": "<string>",
"schemaName": "<string>",
"tableName": "<string>",
"incrementalCacheSchedule": {
"expression": "<string>"
},
"fullRefreshCacheSchedule": {
"expression": "<string>"
},
"projectId": "<string>"
}
curl --request POST \
--url https://partner.peaka.studio/api/v1/data/projects/{projectId}/cache \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"id": "960bd651-7b3c-4511-9a88-18e14ac7742a",
"catalogId": "627249916703408649",
"schemaName": "payment",
"tableName": "customers"
}'
{
"id": "<string>",
"catalogId": "<string>",
"schemaName": "<string>",
"tableName": "<string>",
"incrementalCacheSchedule": {
"expression": "<string>"
},
"fullRefreshCacheSchedule": {
"expression": "<string>"
},
"projectId": "<string>"
}
Use the Authorization header with the value 'Bearer <apiKey>' to authenticate. Partner API Keys have full access; Project API Keys are limited to their project scope. Learn more: https://docs.peaka.com/api-reference/authentication
Project ID
Create Cache Request
This class represents a request to cache data. It contains the catalog ID, schema name, table name, and schedule of the cache request.
OK
The response is of type object
.