License Information
This chapter focuses on information from the license file.
Get information from the Premium license file
A GET
to /license/info
returns information from the Premium license file.
HTTP request
GET /api/rest/latest/license/info HTTP/1.1
Accept: application/json
Host: localhost:8080
Request parameters
Parameter | Description |
---|---|
|
which fields of the elements should be returned (optional) |
HTTP response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 465
{
"_type" : "license-info",
"max_users" : 15,
"expiration_date" : "2022-10-12T08:00:00.000+00:00",
"license_plugins" : [ {
"_type" : "license-plugin",
"key" : "api-rest-admin",
"available" : true
}, {
"_type" : "license-plugin",
"key" : "automation-result-publisher",
"available" : false
} ],
"valid_license" : false,
"_links" : {
"self" : {
"href" : "http://localhost:8080/api/rest/latest/license/info"
}
}
}
Response fields
Path | Type | Description |
---|---|---|
|
|
the type of the entity |
|
|
max users number allowed by the license |
|
|
expiration date of the license |
|
|
all the license plugins |
|
|
the type of the license plugins |
|
|
key of the license plugin |
|
|
availability of the plugin by the license |
|
|
indicates if the license is valid : expiration date + a tolerance period |
|
|
related links |
Links
Relation | Description |
---|---|
|
link to the license information |