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
{
"validUntil" : 1451649601000
}
| 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
{
"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
{ }
| 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
{
"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
{ }