Environments
Last updated
Last updated
2024 © Lenses.io Ltd. Apache, Apache Kafka, Kafka and associated open source project names are trademarks of the Apache Software Foundation.
Deletes an environment.
Successful deletion.
Provides Server-Sent Events (SSE) for environment updates. TODO.
Error object.
Enumerates possible error types.
Describes the problem in a human readable fashion.
Is a copy of the http status code.
Lists for validation errors the fields that failed validation.
Contains in case of an "unauthorised" type of error, the url of the SSO provider, if any.
Is set to the id of this request. Can be used to correlate backend logs.
Lists all environments
Happy response.
Proxies HTTP to a Lenses instance. Note: this is not a regular HTTP API endpoint. The path specified here is a prefix. Everything beneath it gets proxied to the corresponding Lenses instance. Any request body and method (the GET here is only a placeholder) are accepted, as long as the Lenses API accepts it. The connection can even be upgraded to a websocket. The status code and response body are controlled by the Lenses API. This concept does not fit into the OpenAPI world at all; this definition is only here for the sake of documentation to avoid having an undocumented dark matter API.
Error object.
Enumerates possible error types.
Describes the problem in a human readable fashion.
Is a copy of the http status code.
Lists for validation errors the fields that failed validation.
Contains in case of an "unauthorised" type of error, the url of the SSO provider, if any.
Is set to the id of this request. Can be used to correlate backend logs.
Updates an environment.
Enumerates Tiers.
Patches metadata. It has the following semantics:
Updates the display name of the environment.
Happy response.
Contains the resource identifier for use in access control policies.
Enumerates Tiers.
Contains dynamic properties of the Agent, brought in via a connected agent. Only when the agent is connected to HQ, agent info can be updated. An environment that never had a connected agent cannot have a LiveAgentInfo.
Allows attaching custom string key/values to resources. The following maxima apply:
Creates a new environment.
Sets the name of the new environment. It must be a valid HQ resource name: it can only contain lowercase alphanumeric characters or hyphens; hyphens cannot appear at the end or start; the length is 63 characters at most.
Sets the display name of the new environment. If not provided, the value of "name" will be used.
Enumerates Tiers.
Allows attaching custom string key/values to resources. The following maxima apply:
Happy response.
Contains the resource identifier for use in access control policies.
Enumerates Tiers.
Contains dynamic properties of the Agent, brought in via a connected agent. Only when the agent is connected to HQ, agent info can be updated. An environment that never had a connected agent cannot have a LiveAgentInfo.
Allows attaching custom string key/values to resources. The following maxima apply:
Retrieves a list of dataset tags
A response wrapping a paginated list of datasets and the set of relative source types
Get a single dataset by connection/name. While information mastered externally might be a few second out of sync with their respective sources (e.g. JMX metadata, Elasticsearch index status, etc), information mastered in Lenses's db is guaranteed to be up to date (e.g. tags, descriptions).
"kafka"
"customer-positions"
Retrieves a single environment by name.
Happy response.
Contains the resource identifier for use in access control policies.
Enumerates Tiers.
Contains dynamic properties of the Agent, brought in via a connected agent. Only when the agent is connected to HQ, agent info can be updated. An environment that never had a connected agent cannot have a LiveAgentInfo.
Allows attaching custom string key/values to resources. The following maxima apply:
Retrieves a list of datasets
A response wrapping a paginated list of datasets and the set of relative source types
Returns the intellisense result for a given query
Happy response