compute

GET /v1/compute/servers/{serverId}/litespeed-trial

Whether a LiteSpeed Enterprise free trial can start on one of your servers.

All compute endpoints

All developer docs →

Zinn®, our Viking, hammering at his anvil beside an API endpoint sending events to several listeners.

Authentication

Send an API key as a bearer token. The key must carry the sites.view permission; a key without it is refused with 403, not 404.

This endpoint takes no organisation id. Your key already identifies the organisation it belongs to, and the response is scoped to it.

Try it

Replace anything in angle brackets with your own values, and the key placeholder with a key from your dashboard.

curl -X GET https://api.zinndigital.com/v1/compute/servers/{serverId}/litespeed-trial \
  -H "Authorization: Bearer zdk_live_…"

Signed in? The API console in your dashboard fills in your real organisation id and your own key, and runs the request against the live API so you can see the actual response. Open this endpoint in the API console

Details

CP-LSWS r14. A 15-day LiteSpeed Enterprise free trial on a server the Zinn® panel runs on OpenLiteSpeed: no charge, no licence bought (the vendor's own one-per-server trial key), and it ends by itself, putting the server back on OpenLiteSpeed and e-mailing the customer. available is false with a refusal key when it cannot start (one of refusal.compute.lswsTrialNotOwnServer, lswsTrialNotOffered, lswsTrialNotOnOpenLiteSpeed, lswsTrialAlreadyEnterprise, lswsTrialAlreadyUsed). notice.sites is the number of sites the switch moves: the dashboard shows it before the customer starts. active and trial_ends_at describe a running trial. Requires sites.view; 404 for a server that is not the caller's.

Parameters

NameTypeRequiredWhat it is
serverId (path)UuidYesThe server's id, as listComputeServers reports it. Ours (UUIDv7), minted when the order row was written — never the provider's own identifier for the machine.

Response

NameTypeRequiredWhat it is
availablebooleanYesTrue when a trial may start now.
refusalobjectYesThe refusal.compute.lswsTrial* key when it may not; null otherwise.
daysintegerYesThe trial length in days (15).
noticeobjectYes—
activebooleanYesTrue while a trial is running on this server.
trial_ends_atobjectYesWhen the running trial ends; null when none is running.

Errors this endpoint can return

401 · 403 · 404