Skip to content

Get a product

Returns the name, the code and the distribution setting of a product.

GET /v1/products/{product}

Use cases

  • Show the name of the product on a download page.
  • Read the distribution setting. It tells your download page or your application whether to ask for a license key.
  • Check that your application can reach the Distribution API.

License checks

Get a product does not check the license. A known key gets the product, also when the license is suspended or expired, or when it belongs to another product in your account. So a 200 answer does not mean that the license gets the releases. To check that, use List releases or Check for an update.

Get a product changes no license and records no activity.

Authentication

Send the license key of the customer. A product with the open distribution setting does not require a key. See Authentication.

Request

{product} is the ID of the product. The request has no body and no query parameters.

HeaderRequiredDescription
Seatify-License-KeyFor a licensed productThe license key of the customer. For an open product, a key that the request sends must be valid.
Seatify-NonceNoA new random value that the signature includes. See Signed responses.
Seatify-Signing-KeyNoThe key ID of the signing key in your application. See Signed responses.

Response

FieldTypeDescription
idstringThe ID of the product.
namestringThe name of the product.
codestringThe code of the product.
distributionstringThe distribution setting of the product. The value is licensed or open.

Errors

StatusReasonDescription
400The signing key is not known.Your organization has no signing key with the ID in Seatify-Signing-Key.
400The nonce must be at most 255 characters.The value of Seatify-Nonce is too long.
401A license key is required.The product is licensed, and the request has no Seatify-License-Key header, or the header is empty.
401The license key is not valid.No license in your account has this key. This applies to an open product too.
404The product was not found.No product has this ID.
429There are too many requests. Try again later.See Rate limits.

See Errors.

Example

curl https://dist.seatify.dev/v1/products/$PRODUCT_ID \
  -H "Seatify-License-Key: $LICENSE_KEY"
{
  "id": "<product id>",
  "name": "Beacon Studio",
  "code": "BEACON",
  "distribution": "licensed"
}