Public api activity [WIP]

:construction: 

requires https://github.com/owncloud/core/pull/9412
> No, the function is used multiple times :-O

Oh - I didn't see the second usage :wink: - sorry for the noise