api namespace for all json requests