public interface FloatingServerV2Api
| Modifier and Type | Method and Description |
|---|---|
AddConsumptionToFeatureResponse |
addConsumptionToFeature(Long id,
AddConsumptionToFeatureRequest payload)
Adds a specified number of consumptions to a feature under a license.
|
AddConsumptionToLicenseResponse |
addConsumptionToLicense(Long id,
AddConsumptionToLicenseRequest payload)
Adds a specified number of consumptions to a license by license ID.
|
AddLicenseResponse |
addLicense(AddLicenseRequest payload)
Activates a product license using either a license key or a username/password pair.
|
AddUserResponse |
addUser(AddUserRequest payload)
Creates a user with a hashed password and role Requires admin role.
|
BorrowLicenseResponse |
borrowLicense(Long id,
BorrowLicenseRequest payload)
Temporarily borrows a license for a user until a given UTC time.
|
ChangePasswordResponse |
changePassword(ChangePasswordRequest payload)
Creates a user with a hashed password and role
|
com.licensespring.LicenseData |
getLicenseById(Long id)
Returns license details for a given license ID
|
List<com.licensespring.LicenseData> |
getLicenses(GetLicensesQuery query)
Returns all licenses associated with a specific product code
|
LoginResponse |
login(LoginRequest payload)
Authenticates a user and returns a JWT token
|
PingResponse |
ping()
Returns a simple pong message
|
RegisterFeatureForUserResponse |
registerFeatureForUser(Long id,
RegisterFeatureForUserRequest payload)
Registers a specific feature under a license for a given user Requires user or admin role.
|
com.licensespring.LicenseData |
registerUserToLicense(Long id,
RegisterUserToLicenseRequest payload)
Registers a user under a license with a specified number of allowed registrations Requires user
or admin role.
|
String |
removeLicenseById(Long id)
Removes a product license using its license ID Requires admin role.
|
RemoveUserResponse |
removeUser(RemoveUserRequest payload)
Creates a user with a hashed password and role Requires admin role.
|
void |
unregisterFeatureForUser(Long id,
UnregisterFeatureForUserRequest payload)
Releases a registered feature for a specific user.
|
void |
unregisterUserFromLicense(Long id,
UnregisterUserFromLicenseRequest payload)
Removes a user from the license system by license ID and username Requires user or admin role.
|
AddUserResponse addUser(AddUserRequest payload)
ChangePasswordResponse changePassword(ChangePasswordRequest payload)
LoginResponse login(LoginRequest payload)
RemoveUserResponse removeUser(RemoveUserRequest payload)
List<com.licensespring.LicenseData> getLicenses(GetLicensesQuery query)
AddLicenseResponse addLicense(AddLicenseRequest payload)
com.licensespring.LicenseData getLicenseById(Long id)
String removeLicenseById(Long id)
BorrowLicenseResponse borrowLicense(Long id, BorrowLicenseRequest payload)
com.licensespring.LicenseData registerUserToLicense(Long id, RegisterUserToLicenseRequest payload)
void unregisterUserFromLicense(Long id, UnregisterUserFromLicenseRequest payload)
RegisterFeatureForUserResponse registerFeatureForUser(Long id, RegisterFeatureForUserRequest payload)
void unregisterFeatureForUser(Long id, UnregisterFeatureForUserRequest payload)
PingResponse ping()
AddConsumptionToLicenseResponse addConsumptionToLicense(Long id, AddConsumptionToLicenseRequest payload)
AddConsumptionToFeatureResponse addConsumptionToFeature(Long id, AddConsumptionToFeatureRequest payload)
Copyright © 2025 Cense Data Inc.. All rights reserved.