What values can be passed to CMD_API_MANAGE_USER_PACKAGES?

Whenever they refer to a skin, it means than one should open directadmin on the same URL (corresponding to a desired API). For CMD_API_MANAGE_USER_PACKAGES it will be CMD_MANAGE_USER_PACKAGES, i.e. API_ is omitted.

- Then opens a console of the browser, goes to a Network tab
- Fills the form and sends it to a server
- Then checks what keys were sent to the server

Or, just opens a HTML code of the page in DirectAdmin without sending it to the server and see which fields a form has.

Something like that.
 
I really wish this was just documented in the documentation.

It seems that when you actually save (POST) a package, only the keys for the ticked boxes are sent, so you must create a dummy package with everything enabled in order to find out what the different keys are. It works, but not how I expect to be able to find documentation. :(

I also tried to "Inspect" the HTML code of the page where you make all the selections, but I wasn't able to find any form fields at all. I'm not much of a frontend developer, so they may have been hidden somewhere I couldn't see.
 
Back
Top