/
Getting information about available/used licenses

Getting information about available/used licenses

Format

MethodGET
URL

/managerinfo

Request contentEmpty
Successful answerManagerInfo Object
Non-successful answerErrorMessage Object
Unexpected errorHTTP 500

ManagerInfo Object

Schema

versionManagerVersionInfoVersion of the software run by this manager
manager_idStringUniversal id of the manager.
licensesArray of LicenseInfoInformation of licenses installed in this Manager. This information is shown only to authenticated users

JSON example

{
	"version": {
		"major":"3",
		"minor":"0",
		"release":"1"
	},
	"manager_id":"1bd1fad1-2390-4bcf-bf8b-0435fee1aa5b",
	"licenses":[{
		"version":1,
		"signature":"TG9uZ0xvbmdMb25nTG9uZ0xvbmdMb25nTG9uZ0xvbmdMb25nTG9uZ0xvbmdMb25nTG9uZ0xvbmdMb25nTG9uZ0Jhc2U2NA==",
		"license_id":"13cc3b6a-1a83-4681-9432-43ac178a41f2",
		"manager_id":"1bd1fad1-2390-4bcf-bf8b-0435fee1aa5b",
		"valid_since":17480,
		"valid_until":17980,
		"type":"concurrent",
		"max_sessions":1000,
		"usage":{
			"in_use":6,
			"licensed_guests":[
				"fedora25",
				"w7",
				"guest1",
				"guest2",
				"guest3",
				"fedora26_template"
			]
		}
	}]
}

ManagerVersionInfo Object

Schema

majorStringMajor number of flexVDI Manager version
minorStringMinor number of flexVDI Manager version
releaseStringRelease number of flexVDI Manager version

JSON example

"version": {
		"major":"3",
		"minor":"0",
		"release":"1"
	}

LicenseInfo

Schema

versionIntegerVersion of the license
signatureStringCryptographic signature of the license. Used to validate it
license_idStringLicense identifier
manager_idStringManager identifier
valid_sinceIntegerFirst day of license validity. Expressed as number of days since Unix epoch.
valid_untilIntegerLast day of license validity. Expressed as number of days since Unix epoch.
typeStringType of license.
max_sessionsIntegerMaximum number of sessions granted by the license.
usageLicenseUsageInfoInformation about session currently using this license


JSON example

{
	"version":1,
	"signature":"TG9uZ0xvbmdMb25nTG9uZ0xvbmdMb25nTG9uZ0xvbmdMb25nTG9uZ0xvbmdMb25nTG9uZ0xvbmdMb25nTG9uZ0Jhc2U2NA==",
	"license_id":"13cc3b6a-1a83-4681-9432-43ac178a41f2",
	"manager_id":"1bd1fad1-2390-4bcf-bf8b-0435fee1aa5b",
	"valid_since":17480,
	"valid_until":17980,
	"type":"concurrent",
	"max_sessions":1000,
	"usage":{
		"in_use":6,
		"licensed_guests":[
			"fedora25",
			"w7",
			"guest1",
			"guest2",
			"guest3",
			"fedora26_template"
		]
	}
}

LicenseUsageInfo

Schema

in_useIntegerNumber of licensed versions currently in use
licensed_guestsString ArrayArray of ids of the guests that are currently using the licenses

JSON example

{
	"in_use":6,
	"licensed_guests":[
		"fedora25",
		"w7",
		"guest1",
		"guest2",
		"guest3",
		"fedora26_template"
	]
}





Related content

Getting information about available/used licenses
Getting information about available/used licenses
More like this
Add a new license
Add a new license
More like this
Getting full information from a certain Terminal Policy
Getting full information from a certain Terminal Policy
More like this
Getting the list of Guests present in the system
Getting the list of Guests present in the system
More like this
Getting the list of Guests present in the system
Getting the list of Guests present in the system
More like this
Getting the list of Guests present in the system
Getting the list of Guests present in the system
More like this