mirror of
https://github.com/Unleash/unleash.git
synced 2024-10-18 20:09:08 +02:00
0f60fd075a
Co-authored-by: Alexis Degrugillier <alexis.degrugillier@duproprio.com>
53 lines
1.4 KiB
Markdown
53 lines
1.4 KiB
Markdown
---
|
|
id: feature-types
|
|
title: /api/admin/feature-types
|
|
---
|
|
|
|
> In order to access the admin api endpoints you need to identify yourself. If you are using the `unsecure` authentication method, you may use [basic authentication](https://en.wikipedia.org/wiki/Basic_access_authentication) to identify yourself.
|
|
|
|
# Feature Types API
|
|
|
|
`GET: http://unleash.host.com/api/admin/feature-types`
|
|
|
|
Used to fetch all feature types defined in the unleash system.
|
|
|
|
**Response**
|
|
|
|
```json
|
|
{
|
|
"version": 1,
|
|
"types": [
|
|
{
|
|
"id": "release",
|
|
"name": "Release",
|
|
"description": "Used to enable trunk-based development for teams practicing Continuous Delivery.",
|
|
"lifetimeDays": 40
|
|
},
|
|
{
|
|
"id": "experiment",
|
|
"name": "Experiment",
|
|
"description": "Used to perform multivariate or A/B testing.",
|
|
"lifetimeDays": 40
|
|
},
|
|
{
|
|
"id": "ops",
|
|
"name": "Operational",
|
|
"description": "Used to control operational aspects of the system behavior.",
|
|
"lifetimeDays": 7
|
|
},
|
|
{
|
|
"id": "killswitch",
|
|
"name": "Kill switch",
|
|
"description": "Used to to gracefully degrade system functionality.",
|
|
"lifetimeDays": null
|
|
},
|
|
{
|
|
"id": "permission",
|
|
"name": "Permission",
|
|
"description": "Used to change the features or product experience that certain users receive.",
|
|
"lifetimeDays": null
|
|
}
|
|
]
|
|
}
|
|
```
|