This shortcode allows you to activate, deactivate or return the current status of the Nodalio REST API on your server. This API allows you to run Nodalio site approved shortcodes on your site.
Shortcode usage format:
- sudo nodalio api on/off/status
- on/off/status – turn on/off Nodalio API. You may use status to find out if Nodalio API is active.
Available Site Approved Shortcodes:
API Usage Format:
http://serverip:34560/v1/sites/122334 (Currently supports POST requests only)
- serverip – your server’s IP address.
- 34560 – API port.
- v1/sites – site shortcodes endpoint.
- 122334 – your site’s ID.
Please note: the API allows you to run shortcodes on specific sites only, for security reasons, there is no option to list all site ids available on the server.