API Endpoints

LexFloatServer provides several API endpoints for retrieving information related to its status, license details, leased floating licenses, meter attributes, and feature entitlements.

Getting server stats

LexFloatServer exposes a stats API endpoint that can be used to get the current stats of the server.

GET http://localhost:8090/api/server/stats?apiKey=YOUR_API_KEY

Sample response:

  {
"leaseDuration": 60,
"maxOfflineLeaseDuration": 30,
"allowedFloatingClients": 10,
"allowedOfflineFloatingClients": 0,
"totalFloatingClients": 5,
"totalOfflineFloatingClients": 0,
"leasingStrategy": "per-machine",
"version": "4.13.3",
"status": "ok",
"expiresAt": 1751178927,
"serverSyncGracePeriodExpiresAt": 0
}

Getting server license info

LexFloatServer exposes a license info API endpoint that can be used to get the information related to the license used to activate the LexFloatServer.

GET http://localhost:8090/api/server/license-info?apiKey=YOUR_API_KEY

Sample response:

  {
"key": "280D2B-B48A03-406BBC-2EEE4A-C20FB3-749630",
"allowedFloatingClients": 10,
"createdAt": 1680518500,
"activatedAt": 1680518506,
"expiresAt": 1681814506,
"serverSyncGracePeriodExpiresAt": 1680775357,
"activationMode": {
"initial": "online",
"current": "online"
},
"user": {
"name": "John Doe",
"email": "johndoe@example.com",
"company": "My Example Company"
},
"organization": null
}

Getting the list of floating licenses

LexFloatServer exposes a floating-licenses API endpoint that can be used to get the leased floating licenses.

GET http://localhost:8090/api/floating-licenses?apiKey=YOUR_API_KEY

Sample response:

  [
{
"id": "3a13465d984ef1f4b21b2117e0b3f591116f6b027fa8a19f332fbc43651f3d2c",
"ip": "127.0.0.1",
"os": "macos",
"osVersion": "10.14",
"hostname": "MB-Pro.local",
"clientVersion": "4.0.0",
"expiresAt": 1545019266,
"updatedAt": 1545019236,
"createdAt": 1545019236,
"metadata": [
{
"key": "name",
"value": "John Doe"
}
]
}
]

Getting server license meter attributes

LexFloatServer exposes a license meter attributes API endpoint that can be used to get the list of all the meter attributes of the license used to activate the LexFloatServer.

GET http://localhost:8090/api/server/license-meter-attributes?apiKey=YOUR_API_KEY

Sample response:

  [
{
"id": "string",
"name": "string",
"allowedUses": 0,
"totalUses": 0,
"grossUses": 0
}
]

Getting server license feature entitlements

LexFloatServer exposes a feature entitlement API endpoint that can be used to get the list of all the feature entitlements associated with the license used to activate the LexFloatServer.

GET http://localhost:8090/api/server/feature-entitlements?apiKey=YOUR_API_KEY

Sample response:

  [
{
"featureName": "string",
"featureDisplayName": "string",
"value": "string",
"baseValue": "string",
"expiresAt": 1751178927
}
]
ActivationLicensing via Web API
Last updated: