mirror of
				https://github.com/strapi/strapi.git
				synced 2025-10-31 09:56:44 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			21 lines
		
	
	
		
			385 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
			
		
		
	
	
			21 lines
		
	
	
		
			385 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
| 'use strict';
 | |
| 
 | |
| module.exports = [
 | |
|   {
 | |
|     method: 'GET',
 | |
|     path: '/content-api/permissions',
 | |
|     handler: 'content-api.getPermissions',
 | |
|     config: {
 | |
|       policies: ['admin::isAuthenticatedAdmin'],
 | |
|     },
 | |
|   },
 | |
|   {
 | |
|     method: 'GET',
 | |
|     path: '/content-api/routes',
 | |
|     handler: 'content-api.getRoutes',
 | |
|     config: {
 | |
|       policies: ['admin::isAuthenticatedAdmin'],
 | |
|     },
 | |
|   },
 | |
| ];
 | 
