Environments
Lists all environments
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.
development
, staging
, production
Allows attaching custom string key/values to resources. The following maxima apply:
- 50 keys/values;
- 40 bytes key length;
- 500 bytes value length.
Retrieves a single environment by name.
Updates an environment.
Enumerates Tiers.
development
, staging
, production
Patches metadata. It has the following semantics:
- Absent keys are left untouched;
- Null values are deleted;
- Non-null values are replaced.
Updates the display name of the environment.
Deletes an environment.
No body
Provides Server-Sent Events (SSE) for environment updates. TODO.
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.
Retrieves a list of datasets
The page number to be returned, must be greater than zero. Defaults to 1.
1
The elements amount on a single page, must be greater than zero.
25
A search keyword to match dataset, fields and description against.
name
A list of connection names to filter by. All connections will be included when no value is supplied.
A list of tag names to filter by. All tags will be included when no value is supplied.
The field to sort results by
name
, records
, connectionName
, sourceType
, isSystemEntity
, recordsPerSecond
, keyType
, valueType
, replication
, consumers
, partitions
, retentionBytes
, retentionMs
, sizeBytes
, replicas
, shard
, version
, format
, compatibility
, backupRestoreState
Sorting order. Defaults to ascending
asc
, desc
A flag to include in the search also system entities (e.g. Kafka's __consumer_offsets
topic).
Whether to search only by table name, or also to include field names/documentation (defaults to true)
Schema format. Relevant only when sourceType is SchemaRegistrySubject
Filter based on whether the dataset has records
Filter based on compacted. Relevant only when sourceType is Kafka
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 list of dataset tags
Get tags sorted by dataset count
user
Returns the intellisense result for a given query
Last updated
Was this helpful?