mirror of
				https://github.com/langgenius/dify.git
				synced 2025-10-31 02:42:59 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			13 lines
		
	
	
		
			313 B
		
	
	
	
		
			Python
		
	
	
	
	
	
			
		
		
	
	
			13 lines
		
	
	
		
			313 B
		
	
	
	
		
			Python
		
	
	
	
	
	
| from flask_restful import Resource  # type: ignore
 | |
| 
 | |
| from controllers.web import api
 | |
| from services.feature_service import FeatureService
 | |
| 
 | |
| 
 | |
| class SystemFeatureApi(Resource):
 | |
|     def get(self):
 | |
|         return FeatureService.get_system_features().model_dump()
 | |
| 
 | |
| 
 | |
| api.add_resource(SystemFeatureApi, "/system-features")
 | 
