adding post on api definition