Cluster Triggers
Update Cluster Trigger
Changed onUpdate a cluster trigger.
Allowed updates:
- schedule_config: Modify trigger schedule
- description: Update description
- status: Change status (use pause/resume endpoints instead)
Not allowed:
- trigger_type: Must delete and recreate
- cluster_id: Immutable
- execution_config: Immutable
patch/v1/clusters/triggers/{trigger_id}
Request
- Base URL: https://api.mixpeek.com
- URL: https://api.mixpeek.com/v1/clusters/triggers/{trigger_id}
- Auth: HTTP bearer and API key in header X-Namespace
Path parameters
trigger_idstring required
Trigger ID
Request body
Response
Successful Response
Example response
{
"execution_config": {
"collection_ids": [
"col_abc123"
],
"config": {
"algorithm": "kmeans",
"min_cluster_size": 2,
"n_clusters": 5
}
}
}Changes
- warning
removed the optional property
from the response with the status - info
added the non-success response with the status
- info
added the non-success response with the status
- info
added the optional property
to the response with the status - info
added the required property
to the response with the status - info
added the required property
to the response with the status
- warning
- info
the endpoint scheme security
BearerAuth AND NamespaceHeaderwas added to the API
- info