Update API spec to include custom styles

This commit is contained in:
Gabe Kangas 2021-04-11 17:55:57 -07:00
parent e985178aa2
commit 7dc5da3899

View File

@ -1037,6 +1037,21 @@ paths:
url: https://github.com/owncast/owncast
- platform: mastodon
url: https://mastodon.social/@gabek
/api/admin/config/customstyles:
post:
summary: Custom CSS styles to be used in the web front endpoints.
description: Save a string containing CSS to be inserted in to the web frontend page.
tags: ["Admin"]
responses:
'200':
$ref: "#/components/responses/BasicResponse"
requestBody:
content:
application/json:
schema:
$ref: "#/components/schemas/ConfigValue"
example:
value: "body { color: orange; background: black; }"
/api/admin/viewersOverTime:
get: