Browse Source

Update API spec to include custom styles

pull/918/head
Gabe Kangas 4 years ago
parent
commit
7dc5da3899
  1. 15
      openapi.yaml

15
openapi.yaml

@ -1037,6 +1037,21 @@ paths: @@ -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…
Cancel
Save