Easier API request
Currently the only way to request data from the APIs is to send the appropriate data via the "request" parameter. While this gives a lot of control it's also quite cumbersome to create a request. To make this simpler the requests should also support "direct parameters".
Examples
- https://host.name/api/json/?m=categories&a=view&e=all&title=text
- View all categories that match the title "text".
- If the "m" parameter is set it should set up a Data object and setRequestValues, i.e. use all parameters exactly the way a normal data object would.
- https://host.name/api/json/?language=nl&set=modules
- Show Dutch translations for modules set
- https://host.name/api/json/?modules&all=true
- Get all modules
- all is an optional parameter
- https://host.name/api/json/?module=categories
- Get module definition for categories
- https://host.name/api/json/?projects
- Get all projects
- https://host.name/api/json/?project=project
- Change project to "project"