From 7dc5da3899e255d02cfa6f2464cd6ba64f2d6548 Mon Sep 17 00:00:00 2001 From: Gabe Kangas Date: Sun, 11 Apr 2021 17:55:57 -0700 Subject: [PATCH] Update API spec to include custom styles --- openapi.yaml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/openapi.yaml b/openapi.yaml index 2c53754ca..f029bc2fb 100644 --- a/openapi.yaml +++ b/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: