Update API spec to include custom styles
This commit is contained in:
parent
e985178aa2
commit
7dc5da3899
15
openapi.yaml
15
openapi.yaml
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user