GET /wp-json/slswc/v1/product
Get a single software product. This will return the publicly available information about the product/software.
Parameter | Datatype | Example | Description |
---|---|---|---|
slug | String required | test-plugin | The slug of the product/software being requested. |
Example failed response
{ "message": "Product not found", "product": null, "status": "not_found" }
Example valid response
{ "status": "ok", "product": { "slug": "test-plugin", "description": "The full description.", "thumbnail": "", "author": "authorname", "required_wp": "4.0", "compatible_to": "5.1.1", "updated": "2019-04-24", "change_log": "Software changelog.", "installation": "Sofware installation instructions.", "documentation_link": "http://example.com/path/to/documentation", "average_rating": 4, "reviews_count": 4, "activations": "9", "banner_low": "http://example.com/path/to/low-res/nanner.jpg", "banner_high": "http://example.com/path/to/high-res/nanner.jpg" } }