From b18ca0e5dafb857f36593d508bc771d7e3ad62aa Mon Sep 17 00:00:00 2001
From: David Trattnig <david.trattnig@o94.at>
Date: Fri, 8 May 2020 09:07:12 +0200
Subject: [PATCH] Update API Configuration.

---
 docs/installation-development.md | 24 +++++++++++++-----------
 docs/installation-production.md  | 24 +++++++++++++-----------
 2 files changed, 26 insertions(+), 22 deletions(-)

diff --git a/docs/installation-development.md b/docs/installation-development.md
index d24b8393..508c68fa 100644
--- a/docs/installation-development.md
+++ b/docs/installation-development.md
@@ -123,17 +123,19 @@ Now, specify at least following settings to get started:
 Set the URLs to the *Steering* and *Tank* API:
 
 ```ini
-    # STEERING
-    api_steering_status = "http://localhost:8000/api/v1/"
-    # The URL to get the Calendar via Steering
-    api_steering_calendar="http://localhost:8000/api/v1/playout"
-    # The URL to get show details via Steering
-    api_steering_show="http://localhost:8000/api/v1/shows/${ID}/"
-
-    # TANK
-    api_tank_status = "http://localhost:8040/ui/"
-    # The URL to get playlist details via Tank
-    api_tank_playlist="http://localhost:8040/api/v1/shows/${SLUG}/playlists"
+[api]
+
+# STEERING
+api_steering_status = "http://localhost:8000/api/v1/"
+# The URL to get the Calendar via Steering
+api_steering_calendar="http://localhost:8000/api/v1/playout"
+# The URL to get show details via Steering
+api_steering_show="http://localhost:8000/api/v1/shows/${ID}/"
+
+# TANK
+api_tank_status = "http://localhost:8040/healthz"
+# The URL to get playlist details via Tank
+api_tank_playlist="http://localhost:8040/api/v1/shows/${SLUG}/playlists"
 ```
 
 Ensure that the Liquidsoap installation path is valid:
diff --git a/docs/installation-production.md b/docs/installation-production.md
index c1e4ebc2..5b831f4b 100644
--- a/docs/installation-production.md
+++ b/docs/installation-production.md
@@ -160,17 +160,19 @@ Now, specify at least following settings to get started:
 Set the URLs to the *Steering* and *Tank* API:
 
 ```ini
-    # STEERING
-    api_steering_status = "http://localhost:8000/api/v1/"
-    # The URL to get the Calendar via Steering
-    api_steering_calendar="http://localhost:8000/api/v1/playout"
-    # The URL to get show details via Steering
-    api_steering_show="http://localhost:8000/api/v1/shows/${ID}/"
-
-    # TANK
-    api_tank_status = "http://localhost:8040/ui/"
-    # The URL to get playlist details via Tank
-    api_tank_playlist="http://localhost:8040/api/v1/shows/${SLUG}/playlists"
+[api]
+
+# STEERING
+api_steering_status = "http://localhost:8000/api/v1/"
+# The URL to get the Calendar via Steering
+api_steering_calendar="http://localhost:8000/api/v1/playout"
+# The URL to get show details via Steering
+api_steering_show="http://localhost:8000/api/v1/shows/${ID}/"
+
+# TANK
+api_tank_status = "http://localhost:8040/healthz"
+# The URL to get playlist details via Tank
+api_tank_playlist="http://localhost:8040/api/v1/shows/${SLUG}/playlists"
 ```
 
 Ensure that the Liquidsoap installation path is valid:
-- 
GitLab