Refactoring endpoints api documentation and reordering the issues/tasks