Fix public, api, private usage

public mean nothing => removed
api is used to generate the documentation for the integrator,
then use it only on element that's made to be used in the viewer.js,
the developer should read the code :-)
Code Style and Linter
Add missing arg
Merge pull request #850 from camptocamp/public-to-api

 Fix public, api, private usage