PUT
/
data
/
projects
/
{projectId}
/
cache
/
{cacheId}
curl --request PUT \
  --url https://partner.peaka.studio/api/v1/data/projects/{projectId}/cache/{cacheId} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '"{\n    \"fullRefreshCacheSchedule\": {\n        \"type\": \"BASIC\",\n        \"expression\": \"PT24H\"\n    },\n    {\n     \"incrementalCacheSchedule\": {\n        \"type\": \"BASIC\",\n        \"expression\": \"PT6H\"\n    }\n}"'
{
  "id": "<string>",
  "appId": "<string>",
  "catalogId": "<string>",
  "schemaName": "<string>",
  "tableName": "<string>",
  "incrementalCacheSchedule": {
    "expression": "<string>"
  },
  "fullRefreshCacheSchedule": {
    "expression": "<string>"
  }
}

Authorizations

Authorization
string
header
required

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

Path Parameters

projectId
string
required

Project ID

cacheId
string
required

Cache ID

Body

application/json
Update Cache Settings

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

Response

200 - */*
OK

The response is of type object.