hal9 icon indicating copy to clipboard operation
hal9 copied to clipboard

Support retrieving and persisting files in server

Open javierluraschi opened this issue 3 years ago • 0 comments

In order to allow users to edit code in the designer... or at least add code to the file they are editing when a control is dragged... we need to add support for save and persist files.

I would propose we support:

POST /putfile
{
  path: 'path to modify',
  contents: 'file contents'
}

POST /getfile
{
  path: 'path to retrieve'
}

We could also make /getfile a GET which is not compatible with what we have in our cloud, but would be OK to change.

javierluraschi avatar Oct 05 '22 23:10 javierluraschi