mirror of
				https://github.com/Unleash/unleash.git
				synced 2025-10-27 11:02:16 +01:00 
			
		
		
		
	docs: add segments api placeholder
This commit is contained in:
		
							parent
							
								
									e37714d61a
								
							
						
					
					
						commit
						3440b4f42a
					
				
							
								
								
									
										20
									
								
								website/docs/api/admin/segments.mdx
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										20
									
								
								website/docs/api/admin/segments.mdx
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1,20 @@ | ||||
| --- | ||||
| title: /api/admin/segments | ||||
| --- | ||||
| export const basePath = "/api/admin/segments" | ||||
| 
 | ||||
| ### Get all segments: `GET /{{{basePath}}}` | ||||
| 
 | ||||
| ### Create segment: `POST /` | ||||
| 
 | ||||
| ### Get segment by id: `GET /:id` | ||||
| 
 | ||||
| ### Update segment by id: `PUT /:id` | ||||
| 
 | ||||
| ### Delete segment by id: `DELETE /:id` | ||||
| 
 | ||||
| ### List strategies that use a specific segment: `GET /:id/strategies` | ||||
| 
 | ||||
| ### List segments applied to a specific strategy: `GET /strategies/:strategyId` | ||||
| 
 | ||||
| ### Replace activation strategy segments `POST /strategies/:strategyId` | ||||
| @ -141,6 +141,7 @@ module.exports = { | ||||
|                                 'api/admin/features-archive', | ||||
|                                 'api/admin/metrics', | ||||
|                                 'api/admin/projects', | ||||
|                                 'api/admin/segments', | ||||
|                                 'api/admin/state', | ||||
|                                 'api/admin/strategies', | ||||
|                                 'api/admin/user-admin', | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user