Export the list of cluster summary with matching search filter and download as a file(csv) Supported sort fields - ['environment', 'clusterName', 'healthState', 'creationTimestamp', 'lastModifiedTimestamp']
POSThttps://api.spectrocloud.com/v1/dashboard/spectroclusters/search/export
Export the list of cluster summary with matching search filter and download as a file(csv) Supported sort fields - ["environment", "clusterName", "healthState", "creationTimestamp", "lastModifiedTimestamp"]
Request
Query Parameters
format string
Possible values: [csv
]
Default value: csv
Header Parameters
ProjectUid string
Scope the request to the specified project uid
- application/json
Body
filter
sort
undefined[]
Responses
- 200
download file
Response Headers
- application/octet-stream
- Schema
Schema
string
- curl
- python
- go
- nodejs
- java
- CURL
curl -L 'https://api.spectrocloud.com/v1/dashboard/spectroclusters/search/export' \
-H 'Content-Type: application/json' \
-H 'Accept: application/octet-stream' \
-H 'ApiKey: <API_KEY_VALUE>' \
-d '{
"filter": {
"conjunction": "and",
"filterGroups": [
{
"conjunction": "and",
"filters": [
{
"condition": {
"bool": {
"value": true
},
"date": {
"match": {
"conjunction": "and",
"values": [
"2024-07-29T15:51:28.071Z"
]
},
"negation": true,
"operator": "eq"
},
"float": {
"match": {
"conjunction": "and",
"values": [
0
]
},
"negation": true,
"operator": "eq"
},
"int": {
"match": {
"conjunction": "and",
"values": [
0
]
},
"negation": true,
"operator": "eq"
},
"keyValue": {
"ignoreCase": true,
"key": "string",
"match": {
"conjunction": "and",
"values": [
"string"
]
},
"negation": true,
"operator": "eq"
},
"string": {
"ignoreCase": true,
"match": {
"conjunction": "and",
"values": [
"string"
]
},
"negation": true,
"operator": "eq"
}
},
"property": "string",
"type": "string"
}
]
}
]
},
"sort": [
{
"field": "environment",
"order": "asc"
}
]
}'