diff --git a/readme.md b/readme.md index a772549..86a63dc 100644 --- a/readme.md +++ b/readme.md @@ -17,3 +17,16 @@ https://your-site.com/ok/ ## Edition panel ![wp-uptime-admin-panel](https://user-images.githubusercontent.com/26112509/226600732-58bdf02b-cb17-4acb-87f9-f997b38ff923.png) + + +## Frequently Asked Questions + +* Can I edit the endpoint and the OK response? + + Yes, from the administration panel you can configure the response from a string to a full JSON. + + For example: + ``` + Path: /server-status/ + Response: {"status":"ok"} + ``` diff --git a/readme.txt b/readme.txt index 73ab8bd..25a22a4 100644 --- a/readme.txt +++ b/readme.txt @@ -3,8 +3,8 @@ Contributors: codesyntax, bipoza Donate link: https://codesyntax.com/ Tags: monitorization, status, wp-json, restapi Requires at least: 4.7 -Tested up to: 6.1 -Stable tag: 2.0.3 +Tested up to: 6.2 +Stable tag: 3.0.0 Requires PHP: 7.0 License: GPLv2 or later License URI: https://www.gnu.org/licenses/gpl-2.0.html @@ -25,7 +25,7 @@ Just install the plugin and activate it. By default, the API is at this address and if mysql is running it will return OK. ``` -https://your-site.com/wp-json/wp-uptime/ok +https://your-site.com/ok/ ``` ## Edition panel @@ -51,6 +51,9 @@ Response: {"status":"ok"} == Changelog == += 3.0.0 = +* Improvement in the route and disable caching. + = 2.0.5 = * Plugin display name changed from WPUptime to WP Uptime.