dev.knotless.createTheme

Writes a dev.knotless.theme record in the account logged in to this appview's web pages, for anyone to choose. Requires the session cookie the pages' login sets: the appview writes with the session it keeps for that account. Clients holding their own session write the record themselves.

Details · procedure
Kindprocedure
Authorityknotless.dev
Indexed

Procedure

procedure · POST

Input

application/json

name

requiredstring

What the theme is called.

  • maxLength: 640
  • maxGraphemes: 64

palette

requiredref

Output

application/json

Errors

InvalidRequest

A name empty or too long, or a colour not as #rrggbb.

AuthenticationRequired

No account is logged in to the pages, or its session has ended.

Similar lexicons

semantic match

Lexicons whose schemas describe something close to this one. Check them before publishing a new one that overlaps.

  • Takes back a theme the account logged in to this appview's pages published.

  • A theme an account made for knotless's pages, for anyone to draw them in.