skeleton of api