Add example welcome message in fixture data.

This commit is contained in:
Gabe Kangas 2022-10-02 21:38:50 -07:00 committed by GitHub
parent 555a289840
commit d69e3656e2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -144,3 +144,38 @@ curl 'http://localhost:8080/api/admin/config/offlinemessage' \
-H 'User-Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4896.127 Safari/537.36' \
--data-raw '{"value":"Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. I am offline. This is my message."}' \
--compressed
# Chat welcome message
curl 'https://webv2.owncast.tv/api/admin/config/welcomemessage' \
-H 'authority: webv2.owncast.tv' \
-H 'accept: */*' \
-H 'accept-language: en-US,en;q=0.9' \
-H 'authorization: Basic YWRtaW46aG05dTl4a2c=' \
-H 'cache-control: no-cache' \
-H 'content-type: text/plain;charset=UTF-8' \
-H 'origin: https://webv2.owncast.tv' \
-H 'pragma: no-cache' \
-H 'referer: https://webv2.owncast.tv/admin/config-chat/' \
-H 'sec-fetch-dest: empty' \
-H 'sec-fetch-mode: cors' \
-H 'sec-fetch-site: same-origin' \
-H 'sec-gpc: 1' \
-H 'user-agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4896.127 Safari/537.36' \
--data-raw '{"value":"This is an example chat welcome message."}' \
--compressed ;
curl 'https://webv2.owncast.tv/api/admin/status' \
-H 'authority: webv2.owncast.tv' \
-H 'accept: */*' \
-H 'accept-language: en-US,en;q=0.9' \
-H 'authorization: Basic YWRtaW46aG05dTl4a2c=' \
-H 'cache-control: no-cache' \
-H 'pragma: no-cache' \
-H 'referer: https://webv2.owncast.tv/admin/config-chat/' \
-H 'sec-fetch-dest: empty' \
-H 'sec-fetch-mode: cors' \
-H 'sec-fetch-site: same-origin' \
-H 'sec-gpc: 1' \
-H 'user-agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4896.127 Safari/537.36' \
--compressed