License Controller Resource

The API allows you to view and upload license.

GET /license

Returns license content.

Response Body
media type data type description
application/json LicenseResponse (JSON) license content

Example

Request
GET /license
Accept: application/json

              
Response
HTTP/1.1 200 OK
Content-Type: application/json

                
{
  "validUntil" : 1451649601000
}
                
              

GET /license/history

Returns metadata of all imported licenses.

Response Body
media type data type description
application/json array of LicenseHistoryResponseItem (JSON) metadata of all imported licenses

Example

Request
GET /license/history
Accept: application/json

              
Response
HTTP/1.1 200 OK
Content-Type: application/json

                
[ {
  "active" : true,
  "checksum" : "...",
  "guid" : "...",
  "importDate" : 12345,
  "features" : {
    "property1" : "...",
    "property2" : "..."
  }
} ]
                
              

GET /license/host-fingerprint

Returns the canonical fingerprint used to request a license restricted to this host. No raw identifiers, protected digests, or per-signal details are exposed.

Response Body
media type data type description
application/json HostFingerprintResponse (JSON)

Example

Request
GET /license/host-fingerprint
Accept: application/json

              
Response
HTTP/1.1 200 OK
Content-Type: application/json

                
{
  "hostFingerprint" : "..."
}
                
              

GET /license/host-validation

Returns aggregate host validation information without exposing individual signals.

Response Body
media type data type description
application/json HostFingerprintValidationResponse (JSON)

Example

Request
GET /license/host-validation
Accept: application/json

              
Response
HTTP/1.1 200 OK
Content-Type: application/json

                
{
  "possibleScore" : 12345,
  "matchedScore" : 12345,
  "reason" : "...",
  "hostBound" : true,
  "status" : "NOT_APPLICABLE"
}
                
              

POST /license/upload

Request Body
media type data type
multipart/form-data (custom)
Response Body
media type data type description
application/json LicenseResponse (JSON)

Example

Request
POST /license/upload
Content-Type: multipart/form-data
Accept: application/json

                

                
              
Response
HTTP/1.1 201 Created
Content-Type: application/json

                
{
  "validUntil" : 1451649601000
}
                
              

POST /license/validate

Request Body
media type data type
application/octet-stream object
Response Body
media type data type description
application/json LicenseValidationResponse (JSON)

Example

Request
POST /license/validate
Content-Type: application/octet-stream
Accept: application/json

                
...
                
              
Response
HTTP/1.1 201 Created
Content-Type: application/json

                
{ }
                
              

POST /license/subscription/extend

Response Body
media type data type description
application/json LicenseResponse (JSON)

Example

Request
POST /license/subscription/extend
Accept: application/json

              
Response
HTTP/1.1 201 Created
Content-Type: application/json

                
{
  "validUntil" : 1451649601000
}
                
              

GET /license/subscription/status

Response Body
media type data type description
application/json LicenseSubscriptionResponse (JSON)

Example

Request
GET /license/subscription/status
Accept: application/json

              
Response
HTTP/1.1 200 OK
Content-Type: application/json

                
{ }