diff options
Diffstat (limited to 'lib/lsg_web/templates/page/api.html.eex')
-rw-r--r-- | lib/lsg_web/templates/page/api.html.eex | 35 |
1 files changed, 0 insertions, 35 deletions
diff --git a/lib/lsg_web/templates/page/api.html.eex b/lib/lsg_web/templates/page/api.html.eex deleted file mode 100644 index 03dfa6b..0000000 --- a/lib/lsg_web/templates/page/api.html.eex +++ /dev/null @@ -1,35 +0,0 @@ -<h1>sys.115ans.net/api</h1> - -<h2>Icecast Status</h2> - -<h3>GET /api/icecast.json</h3> - -<p> - Content-Type: <code>application/json</code> -</p> - -<pre><code> -{ - "np": String, - "genre": null | String, - "live": false | true -} -</pre></code> - -<h3>GET /api/icecast.sse</h3> -<p> - Content-Type: <code>text/event-stream</code> -</p> - -<p> - Stream of: -</p> - - <ul> - <li><strong>icecast</strong> events (same format as <code>/api/icecast.json</code>)</li> - <li><strong>ping</strong> events (to keep-alive connection. You can safely ignore them)</li> - </ul> -<p> - On client connection, the server sends the latest <code>icecast</code> status known. -</p> - |