POST
/
segments
/
{tableName}
/
reload
curl --request POST \
  --url https://dev.startree.ai/segments/{tableName}/reload \
  --header 'Authorization: <api-key>'
{
  "status": "<string>"
}

Authorizations

Authorization
string
header
required

The format of the key is "Basic <token>" or "Bearer <token>"

Path Parameters

tableName
string
required

Name of the table

Query Parameters

type
string

OFFLINE|REALTIME

forceDownload
boolean
default:false

Whether to force server to download segment

targetInstance
string

Name of the target instance to reload

instanceToSegmentsMap
string

Map from instances to segments to reload. This param takes precedence over targetInstance

Response

200 - application/json

successful operation

The response is of type object.