Products
A product is one application that you sell. Each policy, license and release belongs to one product.
Product properties
| Property | Description |
|---|---|
| Name | The name of the application. The Distribution API returns it, so a download page can show it. |
| Code | A short identifier, such as ATS. Each product in your account needs its own code. |
| URL | The website of the application. This property is optional. |
| Distribution | licensed or open. See Distribution. |
Objects in a product
These objects belong to one product:
- Policies. A policy holds the licensing rules for a group of licenses.
- Licenses. A license key is valid only for its own product.
- Releases and artifacts. These are the versions and files that you distribute.
- Publishable keys. See Publishable keys.
These objects belong to your account, and all your products share them:
- Customers. One customer can hold licenses for several products.
- Entitlements. You can attach one entitlement to policies of different products.
- Signing keys. One set of keys signs the responses for all your products.
An integration for the Management API can be limited to one product.
Publishable keys
A publishable key tells the License API which product is calling. Your application sends it in the Seatify-Publishable-Key header.
A publishable key is not a secret. It ships inside your application, and anyone can read it. The license key proves the right to use the product.
A product can have more than one publishable key. For example, you can give each platform or each build its own key. The activity log records which key made each request.
You can retire a key. A retired key still works, so applications that already ship with it keep working. Retiring a key marks it as a key that new builds should not use. To stop a key from working, delete it. The License API then rejects every request that sends that key.
Distribution
The distribution setting decides who can list and download the releases of a product through the Distribution API.
| Value | Behavior |
|---|---|
licensed | A request must send a license key for this product. This is the default. |
open | Anyone can list and download the releases. If a request sends a license key, Seatify still checks it. |