mirror of
https://github.com/Unleash/unleash.git
synced 2025-02-04 00:18:01 +01:00
21 lines
496 B
Plaintext
21 lines
496 B
Plaintext
---
|
|
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`
|