DMSI Advanced API exposes the following resource endpoints. All paths are relative to https://yoursite.com/wp-json/dmsi-api/v1/.
Customers #
| Method | Endpoint | Description |
|---|---|---|
GET | /customers | List all customers |
POST | /customers | Create a customer |
GET | /customers/{id} | Get a customer |
PUT | /customers/{id} | Update a customer |
DELETE | /customers/{id} | Delete a customer |
Products #
| Method | Endpoint | Description |
|---|---|---|
GET | /products | List all products |
POST | /products | Create a product |
GET | /products/{id} | Get a product |
PUT | /products/{id} | Update a product |
DELETE | /products/{id} | Delete a product |
GET | /products/{id}/stats | Get product usage statistics |
Licenses #
| Method | Endpoint | Description |
|---|---|---|
GET | /licenses | List all licenses |
POST | /licenses | Create a license |
GET | /licenses/{id} | Get a license |
PUT | /licenses/{id} | Update a license |
DELETE | /licenses/{id} | Delete a license |
GET | /licenses/{id}/activations | List activations for a license |
Activations #
| Method | Endpoint | Description |
|---|---|---|
GET | /activations | List all activations |
POST | /activations | Activate a license |
DELETE | /activations/{id} | Deactivate a license |
Subscriptions #
| Method | Endpoint | Description |
|---|---|---|
GET | /subscriptions | List all subscriptions |
POST | /subscriptions | Create a subscription |
GET | /subscriptions/{id} | Get a subscription |
PUT | /subscriptions/{id} | Update a subscription |
DELETE | /subscriptions/{id} | Delete a subscription |
POST | /subscriptions/{id}/renew | Renew a subscription |
POST | /subscriptions/{id}/cancel | Cancel a subscription |
Versions #
| Method | Endpoint | Description |
|---|---|---|
GET | /versions | List all versions |
POST | /versions | Create a version record |
GET | /versions/{id} | Get a version |
PUT | /versions/{id} | Update a version |
DELETE | /versions/{id} | Delete a version |
POST | /versions/{id}/upload | Upload a version package |
Downloads #
| Method | Endpoint | Description |
|---|---|---|
POST | /downloads/generate | Generate a signed download URL |
GET | /downloads/customer/{customer_id} | List downloads for a customer |
Batch Operations #
| Method | Endpoint | Description |
|---|---|---|
POST | /batch/customers | Bulk customer operations |
POST | /batch/licenses | Bulk license operations |
POST | /batch/activations | Bulk activation operations |
POST | /batch/subscriptions | Bulk subscription operations |
GET | /batch/jobs/{job_id} | Get status of a batch job |
System #
| Method | Endpoint | Description | Auth Required |
|---|---|---|---|
GET | /health | API health check | No |
GET | /admin/metrics | API usage metrics | Yes (admin scope) |
