List all cluster object regexes in descending order with backward pagination.
Last cluster object regexes.
Cluster object regexes before the given cursor.
curl -L \ --url 'https://cloud-api.calyptia.com/v1/pipelines/{pipelineID}/cluster_object_regexes' \ --header 'Authorization: Bearer YOUR_SECRET_TOKEN'
{ "items": [ { "id": "123e4567-e89b-12d3-a456-426614174000", "pipelineID": "123e4567-e89b-12d3-a456-426614174000", "regex": "text", "description": "text", "createdAt": "2025-03-21T22:21:47.175Z", "updatedAt": "2025-03-21T22:21:47.175Z", "clusterObjects": [ { "id": "123e4567-e89b-12d3-a456-426614174000", "name": "text", "kind": "namespace", "createdAt": "2025-03-21T22:21:47.175Z", "updatedAt": "2025-03-21T22:21:47.175Z" } ] } ], "endCursor": "text" }
Create a new cluster object regex.
curl -L \ --request POST \ --url 'https://cloud-api.calyptia.com/v1/pipelines/{pipelineID}/cluster_object_regexes' \ --header 'Authorization: Bearer YOUR_SECRET_TOKEN' \ --header 'Content-Type: application/json' \ --data '{ "regex": "text", "description": "text" }'
{ "id": "123e4567-e89b-12d3-a456-426614174000", "createdAt": "2025-03-21T22:21:47.175Z" }