diff options
author | Jordan Bracco <href@random.sh> | 2022-12-20 00:21:54 +0000 |
---|---|---|
committer | Jordan Bracco <href@random.sh> | 2022-12-20 19:29:41 +0100 |
commit | 2d83df8b32bff7f0028923bb5b64dc0b55f20d03 (patch) | |
tree | 1207e67b5b15f540963db05e7be89f3ca950e724 /lib/lsg_web/templates/page/api.html.eex | |
parent | Nola rename, the end. pt 6. Refs T77. (diff) |
Nola rename: The Big Move, Refs T77
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> - |