The API allows you to view and upload license.
Returns license content.
media type | data type | description |
---|---|---|
application/json | LicenseResponse (JSON) | license content |
GET /license
Content-Type: */*
Accept: application/json
...
HTTP/1.1 200 OK
Content-Type: application/json
{
"valid" : true,
"invalidReason" : "...",
"props" : {
"property1" : "...",
"property2" : "..."
},
"propsWithUsage" : {
"property1" : {
"maxValue" : "...",
"availableValue" : "..."
},
"property2" : {
"maxValue" : "...",
"availableValue" : "..."
}
},
"email" : "...",
"type" : "...",
"sendLicenseToEndpointsStatus" : "...",
"validUntil" : 1451649601000
}
name | type | description |
---|---|---|
agreementFileStream | formdata | |
licenceFileStream | formdata |
media type | data type |
---|---|
multipart/form-data | (custom) |
media type | data type | description |
---|---|---|
application/json | LicenseResponse (JSON) |
POST /license/upload
Content-Type: multipart/form-data
Accept: application/json
...
HTTP/1.1 201 Created
Content-Type: application/json
{
"valid" : true,
"invalidReason" : "...",
"props" : {
"property1" : "...",
"property2" : "..."
},
"propsWithUsage" : {
"property1" : {
"maxValue" : "...",
"availableValue" : "..."
},
"property2" : {
"maxValue" : "...",
"availableValue" : "..."
}
},
"email" : "...",
"type" : "...",
"sendLicenseToEndpointsStatus" : "...",
"validUntil" : 1451649601000
}
media type | data type |
---|---|
application/octet-stream | object |
media type | data type | description |
---|---|---|
application/json | LicenseValidationResponse (JSON) |
POST /license/validate
Content-Type: application/octet-stream
Accept: application/json
...
HTTP/1.1 201 Created
Content-Type: application/json
{
"valid" : true,
"hasAdditionalAgreement" : true,
"additionalAgreement" : "..."
}
media type | data type | description |
---|---|---|
application/json | LicenseResponse (JSON) |
POST /license/subscription/extend
Content-Type: */*
Accept: application/json
...
HTTP/1.1 201 Created
Content-Type: application/json
{
"valid" : true,
"invalidReason" : "...",
"props" : {
"property1" : "...",
"property2" : "..."
},
"propsWithUsage" : {
"property1" : {
"maxValue" : "...",
"availableValue" : "..."
},
"property2" : {
"maxValue" : "...",
"availableValue" : "..."
}
},
"email" : "...",
"type" : "...",
"sendLicenseToEndpointsStatus" : "...",
"validUntil" : 1451649601000
}
media type | data type | description |
---|---|---|
application/json | LicenseSubscriptionResponse (JSON) |
GET /license/subscription/status
Content-Type: */*
Accept: application/json
...
HTTP/1.1 200 OK
Content-Type: application/json
{
"status" : "FAILED",
"lastAttempt" : 12345,
"invalidReason" : "..."
}