Skip to Content
Dialtone
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
/api/instance/logo/

Authorization

cookieAuth
cookiesessionid<token>

Request Body

multipart/form-data
  1. body
file*string

PNG, SVG or JPG, square, up to 1 MB.

Formaturi

Response Body

application/json
  1. response

GET: everything. PATCH: any of project_name and theme (at least one). The logo has its own endpoint.

project_name?string
Lengthlength <= 60
theme?ThemeEnum
  • saffron - Saffron
  • ocean - Ocean
  • forest - Forest
Value in"saffron""ocean""forest"
logo_url*string|null
Example Request
curl -X POST 'https://example.com/api/instance/logo/' \  -F 'file=http://example.com'
Example Response200
{  "project_name": "string",  "theme": "saffron",  "logo_url": "string"}