Check Bundle

Endpoint

  • Method: GET

  • Path: /api/v4/check_bundle

  • Description: Checks the status and validity of a license bundle.

Authentication

See License API Authorization.

Required headers

  • Date (string) — RFC7231 GMT date string

  • Authorization (string) — signature or bearer token

  • Accept: application/json

Request

Query parameters

Required:

  • hardware_id (string)

  • product (string) — Bundle product short code

One of:

  • license_key (string)

  • username (string)

Optional:

  • license_id (number)

  • include_expired_features (boolean)

  • env (string)

  • os_ver (string)

  • hostname (string)

  • os_hostname (string)

  • ip (string)

  • ip_local (string)

  • app_ver (string)

  • sdk_ver (string)

  • mac_address (string)

Examples


Schema

Request Query Parameters

Request schema (TypeScript + JSON Schema)

TypeScript

JSON Schema


Response Body

Response schema (TypeScript + JSON Schema)

TypeScript

JSON Schema


Response Signatures

The response objects contain the following digital signatures:


License Authorization Method

There are two types of product licenses based on how the client application authorizes itself to interact with a license:

Key-based product licenses

Each license assigned to the product requires the client to provide a license key in order to activate, check or deactivate the license (property license_key in the request). The license response object will contain the license_key property, and product_details.authorization_method will be "license_key".

User-based product licenses

Each license assigned to the product has a corresponding "license user" instead of a license key. Requires username to be provided. In the license response object, product_details.authorization_method will be "user" and the response object will contain the user object with information on the license user.


License Types

The license_type property defines one of the 4 types of licenses based on their duration and how the license is used:

  • perpetual: "perpetual"

  • time-limited: "time-limited"

  • subscription: "subscription"

  • consumption: "consumption"

For more information see: License Types


Errors

If an error occurs, the response will have an HTTP status code of 400 or higher, and the response body will contain an error description in the following format:

Error schema (TypeScript + JSON Schema)

JSON Schema

List of exceptions

missing_headers (400)

Some headers are missing

unknown_product (400)

Provided product was not found

license_not_found (400)

License with the provided license user not found

license_not_enabled (400)

The license is not enabled

license_not_active (400)

The license is not active

device_not_found (400)

An active device matching the hardware_id not found

blacklisted (400)

This device is blacklisted

license_not_enough_consumptions (400)

Not enough consumptions left

floating_not_available (400)

No available slots for floating license

Last updated

Was this helpful?