api basic skeleton