added commandforapi file