Skip to content

Edition, Enterprise features and license

GET
/api/v1/license
curl --request GET \
--url http://localhost:8080/api/v1/license \
--cookie brokerium_session=<brokerium_session>

Role: viewer. Lists the features of Brokerium Enterprise and whether the license covers them. license is null in Community builds and in Enterprise builds without a key.

The edition and the license.

Media typeapplication/json
object
edition
required
string
Allowed values: community enterprise
features
required
Array<object>
object
id
required
string
title
required
string
description
required
string
licensed
required

The license covers the feature and is valid or in its grace period.

boolean
license
required
One of:

The license key in use. For a key that does not verify only state, source and error are set.

object
id
required
string
customer
required
string
email
required
string
features
required

Feature ids, or * for all features.

Array<string>
issuedAt
string format: date-time
notBefore
string format: date-time
expiresAt
string format: date-time
graceEndsAt
string format: date-time
state
required

Valid from notBefore until expiresAt, grace until graceEndsAt, then expired; invalid when the key does not verify or is not valid yet. Enterprise features work in valid and grace.

string
Allowed values: invalid valid grace expired
source
required

BROKERIUM_LICENSE, BROKERIUM_LICENSE_FILE or the key stored through this API.

string
Allowed values: environment file database
error

Why the key cannot be used.

string

Example

{
"edition": "community",
"features": [
{
"id": "message-tools"
}
],
"license": {
"state": "invalid",
"source": "environment"
}
}

Apache®, Apache Kafka® and Kafka® are either registered trademarks or trademarks of the Apache Software Foundation in the United States and/or other countries. Brokerium is not affiliated with, endorsed by, or sponsored by the Apache Software Foundation.