addApiView explenation