aboutsummaryrefslogtreecommitdiff
path: root/create_static_list.sh
diff options
context:
space:
mode:
authorkaotisk <kaotisk@arching-kaos.org>2024-11-09 06:56:16 +0200
committerkaotisk <kaotisk@arching-kaos.org>2024-11-09 06:56:16 +0200
commita1c62b97bcd55f13e2acedd8b4033e76356c38c6 (patch)
tree561a321cccfa59959a888fa820d06f24e3bee5fa /create_static_list.sh
parentb849045a65bb37bee3ab6c0e88ba21559a50d420 (diff)
downloadarching-kaos-radio-a1c62b97bcd55f13e2acedd8b4033e76356c38c6.tar.gz
arching-kaos-radio-a1c62b97bcd55f13e2acedd8b4033e76356c38c6.tar.bz2
arching-kaos-radio-a1c62b97bcd55f13e2acedd8b4033e76356c38c6.zip
Reorganized data export
Diffstat (limited to 'create_static_list.sh')
-rwxr-xr-xcreate_static_list.sh9
1 files changed, 7 insertions, 2 deletions
diff --git a/create_static_list.sh b/create_static_list.sh
index a618d9f..caf16a1 100755
--- a/create_static_list.sh
+++ b/create_static_list.sh
@@ -20,7 +20,12 @@ cat >&1 <<EOF
</div>
EOF
-echo '<h2>Lists</h2><ul>'
+echo '<h2>application/json</h2>'
+
+echo '<h3>Latest list route</h3><ul>'
+echo '<li><a href="http://z.kaotisk-hund.com:8010/v0/list">/v0/list</a></li>'
+echo '</ul>'
+echo '<h3>Lists</h3><ul>'
find hashes -type f | while read filepath
do
hash_string="$(basename ${filepath})"
@@ -35,7 +40,7 @@ do
done
echo '</ul>'
-echo '<h2>Shows</h2><ul>'
+echo '<h3>Shows</h3><ul>'
find hashes -type f | while read filepath
do
hash_string="$(basename ${filepath})"