errors end paginate
api bugfixes
APi story
Merge branch 'feature/refactor_api' into develop