Added ApiEndpoints class