List Available Versions Endpoint #
Returns all versions available to a specific license and product.
Endpoint #
POST /wp-json/dmsilm/v1/updates/versions
Content-Type: application/json
Request Parameters #
| Parameter | Type | Required | Description |
|---|---|---|---|
license_key | string | Yes | Customer's license key |
product_id | integer | Yes | DDLS product ID |
channel | string | No | stable (default), beta, or alpha |
Response #
{
"versions": [
{
"version": "2.0.0",
"channel": "stable",
"release_date": "2026-03-15",
"is_critical": false,
"file_size": 1234567,
"file_hash": "abc123...",
"download_url": "https://yoursite.com/dmsilm-download/?token=..."
},
{
"version": "1.5.0",
"channel": "stable",
"release_date": "2025-12-01",
"is_critical": false,
"file_size": 1100000,
"file_hash": "def456...",
"download_url": "https://yoursite.com/dmsilm-download/?token=..."
}
],
"product_id": 42,
"total": 2
}
Versions are ordered newest first. Each version includes its own signed download URL.
Use Cases #
- Populating a version list in your software to let users choose a specific version
- Displaying rollback options in a settings screen
- Checking whether a beta version exists before showing a beta opt-in prompt
