Move posts resources route under api namespace.