API reference
Branding
Logo, colors and names shown on the panels, per server and per reseller.
Public branding (logo, colors) of the sign-in pages
GET/api/v1/branding
Parameters
| Name | In |
|---|---|
surface | query |
Responses
- 200 OK
Body
Field Type colorsalwaysBrandingColors customalwaysboolean favicon_urlalwaysstring linksalwaysarray of BrandingLink logo_dark_svgalwaysstring logo_svgalwaysstring product_namealwaysstring public_contactalwaysBrandingContact updated_atalwaysinteger - 500 Internal Server Error: internal
Favicon
GET/api/v1/branding/favicon
Parameters
| Name | In |
|---|---|
surface | query |
v | query |
Responses
- 302 Redirect
- 500 Internal Server Error: internal
Reset the server's branding
DELETE/api/v1/server/branding
Responses
- 200 OK
- 401 Unauthorized: no session, or an invalid or expired token
- 403 Forbidden: the caller can't use this (privileges, token scope, feature turned off)
- 500 Internal Server Error: internal
Get the server's branding
GET/api/v1/server/branding
Responses
- 200 OK
Body
Field Type colorsBrandingColors customboolean defaultsalwaysobject Field Type colorsalwaysBrandingColors product_namealwaysstring faviconalwaysstring favicon_urlstring linksarray of BrandingLink logo_dark_svgstring logo_svgstring product_namestring public_contactBrandingContact scopealwaysstring updated_atinteger - 401 Unauthorized: no session, or an invalid or expired token
- 403 Forbidden: the caller can't use this (privileges, token scope, feature turned off)
- 500 Internal Server Error: internal
Save the server's branding
PUT/api/v1/server/branding
Request body
| Field | Type |
|---|---|
colors | BrandingColors |
favicon | string |
links | array of BrandingLink |
logo_dark_svg | string |
logo_svg | string |
product_name | string |
public_contact | BrandingContact |
Responses
- 200 OK
- 400 Bad Request: validation
- 401 Unauthorized: no session, or an invalid or expired token
- 403 Forbidden: the caller can't use this (privileges, token scope, feature turned off)
- 500 Internal Server Error: internal