Download the PHP package jeffstieler/rest-console-embed without Composer
On this page you can find all versions of the php package jeffstieler/rest-console-embed. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download jeffstieler/rest-console-embed
More information about jeffstieler/rest-console-embed
Files in jeffstieler/rest-console-embed
Download jeffstieler/rest-console-embed
More information about jeffstieler/rest-console-embed
Files in jeffstieler/rest-console-embed
Vendor jeffstieler
Package rest-console-embed
Short Description Shortcode embed of the WPCOM Rest Console
License GPL
Package rest-console-embed
Short Description Shortcode embed of the WPCOM Rest Console
License GPL
Please rate this library. Is it a good library?
Informations about the package rest-console-embed
REST Console Embed
WordPress shortcode plugin providing an embeddable console for exploring REST APIs in your content.
Based on Automattic's WordPress.com Console.
Using the shortcode
[rest-console api_root="http://path/to/api" auth="none" width="100%" height="500px"]
api_root
- Root URL of the target API.
auth
- "none", "oauth", or "proxy". Using values other than "none" is an exercise left to the reader. ;)
width
- Width of the containing div, defaults to
100%
.
- Width of the containing div, defaults to
height
- Height of the containing div, defaults to
500px
.
- Height of the containing div, defaults to
API Compatibility
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 - Expose a
/help
endpoint to provide metadata about the API's endpoints- See
https://public-api.wordpress.com/rest/v1.1/help
(make sure to request withAccept: application/json
header)
- See
All versions of rest-console-embed with dependencies
PHP Build Version
Package Version
Requires
jeffstieler/rest-api-console2 Version
dev-master
The package jeffstieler/rest-console-embed contains the following files
Loading the files please wait ....