Check Update
GET /wp-json/slswc/v1/check_update
Check if there is an update available for a software product.
| Parameter | Datatype | Example | Description |
|---|---|---|---|
| Parameter | Datatype | Example | Description |
| license_key | String required | Ss23dhsjhdjshjhfddfr | The license key to be activated. This must be a valid. |
| slug | String required | testplugin | The slug of the software. This must be a valid slug unique to each software product |
| domain | String optional | example.com | The domain the license is activated on. |
| environment | String optional | live | The server environment the license is activated on. Expects live or staging, default live |
All required fields must be provided and must be valid otherwise no update info will be received.
Example Response
{
"status": "active",
"slug": "test-plugin",
"message": "License Valid",
"software_details": {
"name": "Test Plugin",
"id": "12",
"slug": "test-plugin",
"plugin": "test-plugin",
"version": "1.0.3",
"last_updated": "2019-06-27 00:00:00",
"homepage": "https://example.com/product/test-plugin/",
"requires": "4.0",
"tested": "5.2.2",
"new_version": "1.0.3",
"author": "Author Name",
"sections": {
"description": "Software Description.",
"installation": "Installation instructions.",
"changelog": "Changelog."
},
"banners": {
"low": "",
"high": ""
},
"rating": 0,
"ratings": [],
"num_ratings": 0,
"active_installs": 1,
"external": true,
"package": "<valid_download_url_required_by_WordPress",
"download_link": "<valid_download_url"
}
}