heroes

Make Hero

A new hero, as a draft: its drawing checked as a template is — a refusal says where, as /frames/wide/layers/3 — and its settings, any left out at their defaults. With publish a website can show it at once; preview adds a small JPEG of its wide frame's first page, base64, for a chat to show.

post/companies/{company_id}/heroes

Request

  • Base URL
    https://app.zalster.com (the document declares no server; this is the origin it was published from)
  • Auth
    none declared

Path parameters

company_idstring uuid required

Company id

Request body

namestring required
drawingobject required
settingsobject nullable
publishboolean
previewboolean

Response

Successful Response

idstring uuid required
namestring required
status'draft' | 'published' | 'changed' required
widthinteger required
heightinteger required
tallboolean required
made_bystring nullable
created_atstring date-time required
updated_atstring date-time required
published_atstring date-time nullable
zalia_urlstring required
drawingobject required
settingsobject required
notesstring[]
previewstring nullable
preview_media_typestring nullable

Changes

No recorded changes to this operation across all 1 revision of this API.