API referenceInstance
PATCH /api/instance/
GET (public): {"project_name", "theme", "logo_url"}. PATCH (super admins): project_name and/or theme.
PATCH
cookieAuthcookie
sessionid<token>- body
GET: everything. PATCH: any of project_name and theme (at least one). The logo has its own endpoint.
project_name?stringLength
length <= 60theme?ThemeEnumsaffron- Saffronocean- Oceanforest- Forest
Value in
"saffron""ocean""forest"application/json- response
GET: everything. PATCH: any of project_name and theme (at least one). The logo has its own endpoint.
project_name?stringLength
length <= 60theme?ThemeEnumsaffron- Saffronocean- Oceanforest- Forest
Value in
"saffron""ocean""forest"logo_url*string|nullcurl -X PATCH 'https://example.com/api/instance/' \ -H 'Content-Type: application/json' \ -d '{}'Example Response200
{ "project_name": "string", "theme": "saffron", "logo_url": "string"}GET /api/instance/logo/ GET
GET (public): the logo file, 404 if there is none. POST (super admins): multipart `file`, PNG, SVG or JPG, square, up to 1 MB; SVGs are sanitized. DELETE (super admins): back to the initials tile.
GET /api/instance/ GET
GET (public): {"project_name", "theme", "logo_url"}. PATCH (super admins): project_name and/or theme.