MLP API

I recently started working on a cloud deploy script using the MLP API.

One issue I ran into is that when using:

Fullscreen
1
/Administration/packages/:id/uninstall
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

Is that it deletes the tables. There is an option when uninstalling manually through the ModuleLoader to keep the tables and the data in them.
Is there a parameter for this in the API?

If not then I guess the API cannot be used for updating of packages containing data.

  • When you use the api it will scan the manifest that was used to install the package. When in the manifest it was provided that the tables should be removed it will indeed do so. There is currently no way to overwrite this behaviour. Ofcourse you could implement an custom version of this api which checks what it should do and calls the appropiate methods in the package api.