Setting up apisubdir settings.