→
https://api.spectrocloud.com/v1/filters
summary:
Returns a list of FiltersParameters:
Name | Type | Description | Required |
---|---|---|---|
limit | integer | limit is a maximum number of responses to return for a list call. Default and maximum value of the limit is 50. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. | no |
offset | integer | offset is the next index number from which the response will start. The response offset value can be used along with continue token for the pagination. | no |
continue | string | continue token to paginate the subsequent data items | no |
200
An array of filters
An array of filters
{"items": [{"metadata": {"annotations": "object","creationTimestamp": "date-time","deletionTimestamp": "date-time","labels": "object","lastModifiedTimestamp": "date-time","name": "string","namespace": "string","resourceVersion": "string","selfLink": "string","uid": "string"},"spec": {"filterType": "string"}}],"listmeta": {"continue": "string","count": "integer","limit": "integer","offset": "integer"}}
→
https://api.spectrocloud.com/v1/filters/metadata
summary:
Returns a list of Filters metadataParameters:
Name | Type | Description | Required |
---|---|---|---|
filterType | string | filterType can be - [tag, meta, resource] | no |
200
An array of filters
An array of filters
{"items": [{"filterType": "string","name": "string","uid": "string"}]}
→
https://api.spectrocloud.com/v1/filters/tag
summary:
Creates a Tag filter{"metadata": {"annotations": "object","labels": "object","name": "string"},"spec": {"filterGroup": {"conjunction": "string","filters": [{"key": "string","negation": "boolean","operator": "string","values": ["string"]}]}}}
201
Created successfully
Created successfully
{"uid": "string"}
→
https://api.spectrocloud.com/v1/filters/tag/{uid}
summary:
Delete the specified Filter objectPath parameters:
Name | Type | Description | Required |
---|---|---|---|
uid | string | yes |
204
The resource was deleted successfully
The resource was deleted successfully
→
https://api.spectrocloud.com/v1/filters/tag/{uid}
summary:
Returns the specified Filter objectPath parameters:
Name | Type | Description | Required |
---|---|---|---|
uid | string | yes |
200
A Filter object
A Filter object
{"metadata": {"annotations": "object","creationTimestamp": "date-time","deletionTimestamp": "date-time","labels": "object","lastModifiedTimestamp": "date-time","name": "string","namespace": "string","resourceVersion": "string","selfLink": "string","uid": "string"},"spec": {"filterGroup": {"conjunction": "string","filters": [{"key": "string","negation": "boolean","operator": "string","values": ["string"]}]}}}
→
https://api.spectrocloud.com/v1/filters/tag/{uid}
summary:
Updates a Tag filterPath parameters:
Name | Type | Description | Required |
---|---|---|---|
uid | string | yes |
{"metadata": {"annotations": "object","labels": "object","name": "string"},"spec": {"filterGroup": {"conjunction": "string","filters": [{"key": "string","negation": "boolean","operator": "string","values": ["string"]}]}}}
204
The resource was updated successfully
The resource was updated successfully