API referenceInstance
POST /api/instance/logo/
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.
POST
cookieAuthcookie
sessionid<token>multipart/form-data- body
file*stringPNG, SVG or JPG, square, up to 1 MB.
Format
uriapplication/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 POST 'https://example.com/api/instance/logo/' \ -F 'file=http://example.com'Example Response200
{ "project_name": "string", "theme": "saffron", "logo_url": "string"}