描述
Embed a console for exploring REST APIs in your content.
Based on Automattic’s WordPress.com Console.
For the console to work properly, the target API will need to:
* respond to versioned requests, specified in the URL (e.g. /api/v1/endpoint
)
* expose a /versions
endpoint to provide metadata about the API\’s different versions
* response example here
* expose a /help
endpoint to provide metadata about the API’s endpoints
* response example here
屏幕截图
安装
- Install REST Console Embed either via the WordPress.org plugin directory, or by uploading the files to your server.
- Activate the plugin through the ‘Plugins’ menu in WordPress.
- Use the
[rest-console]
shortcode in your content.
评价
此插件暂无评价。
贡献者及开发者
更新日志
0.1.1
- Bug – return shortcode output instead of printing.
0.1.0
- Initial release.