From bc71ed3c9b55fbaa6955fe41bed84e8bf20c7f77 Mon Sep 17 00:00:00 2001 From: Rodrigo Caldas <75918726+c4ldas@users.noreply.github.com> Date: Tue, 19 Sep 2023 00:27:28 +0100 Subject: [PATCH] Change example for one that outputs plain text response (#2) Current API endpoint example does not provide a plain text response, but a JSON output, which can create some confusion to the users. Changed it to an actual example that returns a plain text response. --- docs/chatbot/variables/customapi.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/chatbot/variables/customapi.md b/docs/chatbot/variables/customapi.md index d26c7d0..0069c33 100644 --- a/docs/chatbot/variables/customapi.md +++ b/docs/chatbot/variables/customapi.md @@ -13,11 +13,11 @@ This variable does not take any parameters. #### Example Input ``` -$(customapi.https://api.chucknorris.io/jokes/random) +$(customapi.https://decapi.me/youtube/latest_video?id=UCjerlCIbLPQwSnYlClkjDXg) ``` #### Example Output ``` -Chuck Norris brushes his teeth with a mixture of iron shavings, industrial paint remover, and wood-grain alcohol. +STREAMELEMENTS PATCH NOTES - SEPTEMBER 10, 2023 #streamelements #updates #patchnotes - https://youtu.be/-q_q37PoaM8 ```