[core] Doc model

Move API to /desktop/api to unify and simplify permissions