Adding new model to storage list from LCD app
Hi.
I'd like to realize adding new file (model) to Repetier-Server storaged models list.
I've not found API smth like
I'd like to realize adding new file (model) to Repetier-Server storaged models list.
I've not found API smth like
addNewModelToGroup( string modelPath, string groupName )Is it possible to do this in a simple way from LCD application?
Comments
Currently you can only change the group in the info dialog of the web frontend.
Moving would use this:
moveModelFileToGroup(
Parameter: groupName (string) = Group name to delete, id = file id to move.
Response
Moves a g-code model file with given id to a existing group groupName. Returns ok = true/false depending on success. Triggers "jobsChanged" event to notify all connected clients about the change.
While uploading you do it like this:
model
This group handles g-code files stored in the model list (in contrast to print list). The following url shows how to upload it. The file should be in parameter filename. Format is multipart/form-data.
Now all is fine.
Maybe some will need it (just chande your printer name and apikey value):