Starts a session given a username/password and puts it into a cookie.
No body
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:
Retrieves a single environment by name.
Updates an environment.
Enumerates Tiers.
development
, staging
, production
Patches metadata. It has the following semantics:
Updates the display name of the environment.
Deletes an environment.
No body
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.
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 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
Retrieves a list of dataset tags
Get tags sorted by dataset count
user
Lists all groups
Creates a new Group.
Sets the unique name of the new group. 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 group. If not provided, the value of "name" will be used.
Sets the description of the new group.
Lists principal names (users, service accounts) to be member of this group.
Sets the Roles that are bound to this Group by name.
Allows attaching custom string key/values to resources. The following maxima apply:
Gets a group by its name.
Returns all users
Deletes a group.
No body
Updates a group.
Updates the display name of the group.
Updates the Group description, if a value is provided.
Sets the Roles that are bound to this Group to the Roles (specified by their names), if provided.
Adds the users/principals (specified by their names) to this group, if provided.
Removes the users/principals (specified by their names) from this group, if provided. If members are specified in both add_members as well in here, removal wins.
Sets the members of this group to those users/principals (specified by their names) in an absolute fashion, if provided. Cannot be combined with the add_members or remove_members fields.
Patches metadata. It has the following semantics:
Creates a new user.
Sets the unique name of the new user. 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 user. If not provided, the value of "name" will be used.
Allows attaching custom string key/values to resources. The following maxima apply:
Returns a specific user
Updates a user.
Updates the display name of the user.
Patches metadata. It has the following semantics:
Deletes a user.
No body
Allows updating fields of the user profile.
Contains the users' full name, e.g. Mary Jane Doe.
Contains the users' email address, e.g. mary.jane@doe.net. Note that this is not necessarily the same as the user's name, which often looks like an email address, but is not per se.
Returns the currently authenticated user
Assigns the given user exactly to the provided groups, ensuring they are not part of any other groups.
The name of the user.
Adds the user or service account to the groups (specified by their names).
Removes the user or service account from the groups (specified by their names). If a group is specified in both add_to_groups as well in here, removal wins.
Sets the user or service account memberships to those groups (specified by their names) in an absolute fashion (ensures user/sa will be exactly a member of those), if provided. Cannot be combined with the add_to_groups or remove_from_groups.
Starts a session given a username/password and puts it into a cookie.
No body
Deletes all sessions associated with the current user.
No body
Returns all ServiceAccounts.
Creates a new ServiceAccount.
Sets the unique name of the new service account. 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 service account. If not provided, the value of "name" will be used.
Sets the description of the new service account.
Determines the moment of token expiration. If not specified, the token will never expire.
Allows attaching custom string key/values to resources. The following maxima apply:
Returns a specific ServiceAccount.
Updates a service account.
Updates the display name of the service account.
Updates the description of a service account.
Patches metadata. It has the following semantics:
Deletes a ServiceAccount.
No body
Renews the service account's token. The current token is invalidated and a new one is generated. An optional expiration timestamp can be provided.
Determines the moment of token expiration. If not specified, the token will never expire.
Assigns the given service account exactly to the provided groups, ensuring they are not part of any other groups.
The name of the service account.
Adds the user or service account to the groups (specified by their names).
Removes the user or service account from the groups (specified by their names). If a group is specified in both add_to_groups as well in here, removal wins.
Sets the user or service account memberships to those groups (specified by their names) in an absolute fashion (ensures user/sa will be exactly a member of those), if provided. Cannot be combined with the add_to_groups or remove_from_groups.
Returns all roles.
Creates a new role.
Sets the unique name of the new role. 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 role. If not provided, the value of "name" will be used.
Describes the effect for an action and resource.
Allows attaching custom string key/values to resources. The following maxima apply:
Returns a specific role.
Updates a role.
Updates the display name of the role.
Describes the effect for an action and resource.
Patches metadata. It has the following semantics:
Deletes a role.
No body
Returns the backend's meta information.
Returns the backend's settings information.
Returns HQ's licence.
Returns HQ's licence summary.