diff --git a/docs/api/http.rst b/docs/api/http.rst index 0c8f0253..3eff14fd 100644 --- a/docs/api/http.rst +++ b/docs/api/http.rst @@ -10,7 +10,9 @@ HTTP JSON-RPC API The :ref:`ext-http` extension makes Mopidy's :ref:`core-api` available using JSON-RPC over HTTP using HTTP POST and WebSockets. We also provide a JavaScript wrapper, called :ref:`Mopidy.js `, around the JSON-RPC over -WebSocket API for use both from browsers and Node.js. +WebSocket API for use both from browsers and Node.js. The +:ref:`http-explore-extension` extension, can also be used to get you +familiarized with HTTP based APIs. .. warning:: API stability diff --git a/docs/ext/api_explorer.png b/docs/ext/api_explorer.png new file mode 100644 index 00000000..390dbee0 Binary files /dev/null and b/docs/ext/api_explorer.png differ diff --git a/docs/ext/api_explorer.rst b/docs/ext/api_explorer.rst new file mode 100644 index 00000000..351ddf15 --- /dev/null +++ b/docs/ext/api_explorer.rst @@ -0,0 +1,12 @@ +.. _http-explore-extension: + +Mopidy-API-Explorer +=================== + +https://github.com/dz0ny/mopidy-api-explorer + +Web extension for browsing the Mopidy HTTP API. + +.. image:: /ext/api_explorer.png + :width: 1176 + :height: 713 diff --git a/docs/ext/web.rst b/docs/ext/web.rst index 6c19f0c1..57e2e1af 100644 --- a/docs/ext/web.rst +++ b/docs/ext/web.rst @@ -12,12 +12,7 @@ This list is moderated and updated on a regular basis. If you want your package to show up here, follow the :ref:`guide on creating extensions `. -Mopidy-API-Explorer -=================== - -https://github.com/dz0ny/mopidy-api-explorer - -Web extension for browsing the Mopidy HTTP API. +.. include:: /ext/api_explorer.rst .. include:: /ext/lux.rst diff --git a/docs/extensiondev.rst b/docs/extensiondev.rst index 27bf5e03..dba0fa83 100644 --- a/docs/extensiondev.rst +++ b/docs/extensiondev.rst @@ -418,7 +418,8 @@ Example web application As of Mopidy 0.19, extensions can use Mopidy's builtin web server to host static web clients as well as Tornado and WSGI web applications. For several -examples, see the :ref:`http-server-api` docs. +examples, see the :ref:`http-server-api` docs or explore with +:ref:`http-explore-extension` extension. Example GStreamer element