PUT
PUT
See server/test/book01/
create a new book
PUT /newBook
template is located in editor/template

destination for a new book is App/newBook
only the directories exclude pageX are copied for newBook
components/index.lua and pageX are generated when you specify a new page name to be added
local scenes = { {{#pages}} {{name}}, {{/pages}} } return scenes
image/pageX
commands/pageX
components/pageX
models/pageX
create a new page
PUT /newBook/page1
create a new layer
PUT /newBook/page1/imageOne
TODO: layer_image.lua to display text(layer name) if imageOne.png is not found in assets/pageX
attach a new class
PUT /newBook/page1/imageOne/?class=linear
events
PUT /newBook/commands/page1/eventOne
copy page
create page2 from page1.
- commands/page1/*.lua
- components/page1/**/*.lua
- assets/images/page1/.
- models/page1/*.json
PUT /newBook/page2?copyFrom=newBook/page1