View Categories

REST API for Updates

7 Docs

REST API Overview

Last Updated: March 16, 2026

REST API Overview The DMSI Update Server exposes a REST API that client software calls to check for updates and download new versions. API Namespace All endpoints are under the namespace: dmsilm/v1 Base path: /wp-json/dmsilm/v1/updates/ Available Endpoints Method Endpoint Purpose POST /updates/check Check if an update is available for a specific product and license POST...

Check for Updates Endpoint

Last Updated: March 16, 2026

Check for Updates Endpoint The primary endpoint used by client software to detect and receive updates. Endpoint POST /wp-json/dmsilm/v1/updates/check 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 current_version string Yes Version the client is currently running channel string No Release channel: stable (default),...

Get Version Info Endpoint

Last Updated: March 16, 2026

Get Version Info Endpoint Retrieve detailed metadata for a specific version. Endpoint POST /wp-json/dmsilm/v1/updates/info 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 version string Yes The specific version to retrieve (e.g., "2.0.0") Response { "version": "2.0.0", "status": "published", "channel": "stable", "release_date": "2026-03-15", "changelog":...

List Available Versions Endpoint

Last Updated: March 16, 2026

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":...

Server Status Endpoint

Last Updated: March 16, 2026

Server Status Endpoint Check that the Update Server is online and responding. No authentication required. Endpoint GET /wp-json/dmsilm/v1/updates/status No request body or parameters needed. Response { "status": "ok", "version": "1.0.0", "api": "dmsilm/v1", "timestamp": 1710000000 } Field Description status "ok" when the server is functioning version Update Server plugin version api API namespace timestamp Current server...

Secure Download Endpoint

Last Updated: March 16, 2026

Secure Download Endpoint Files are never served directly. All downloads go through this signed-token endpoint. Endpoint GET /dmsilm-download/?token={HMAC_TOKEN} This is not a REST API endpoint under /wp-json/. It is a custom WordPress rewrite rule that intercepts requests at template_redirect. How Tokens Are Generated When the update check API returns a download_url, the URL already contains...

REST API Authentication & Rate Limiting

Last Updated: March 16, 2026

REST API Authentication & Rate Limiting How the API validates requests and prevents abuse. Authentication Method The Update Server API does not use WordPress authentication (nonces, cookies, or application passwords). Instead, each endpoint validates the customer's license key as part of the request processing. Authentication flow: Client sends license key in POST body API looks...