1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-01-25 00:07:47 +01:00

doc: correct /api/client/features examples

fixes: #852
This commit is contained in:
Ivar Conradi Østhus 2021-05-25 21:29:36 +02:00
parent 38cc0e6a5b
commit 35eaa70586
No known key found for this signature in database
GPG Key ID: 31AC596886B0BD09

View File

@ -28,7 +28,6 @@ This endpoint should never return anything besides a valid _20X or 304-response_
"features": [
{
"name": "Feature.A",
"description": "lorem ipsum",
"type": "release",
"enabled": false,
"stale": false,
@ -44,7 +43,6 @@ This endpoint should never return anything besides a valid _20X or 304-response_
{
"name": "Feature.B",
"type": "killswitch",
"description": "lorem ipsum",
"enabled": true,
"stale": false,
"strategies": [
@ -101,7 +99,6 @@ Used to fetch details about a specific feature toggle. This is mainly provided t
```json
{
"name": "Feature.A",
"description": "lorem ipsum..",
"type": "release",
"enabled": false,
"stale": false,
@ -130,8 +127,6 @@ In the example `environment` needs to be `production` AND `userId` must be eithe
```json
{
"createdAt": "2019-08-02T19:25:13.976Z",
"description": "Play with strategy constraints",
"type": "release",
"enabled": true,
"stale": false,
@ -173,7 +168,6 @@ All feature toggles can also take an array of variants. You can read more about
"features": [
{
"name": "Demo",
"description": "Show off fedfdfature toggles!",
"type": "operational",
"enabled": true,
"stale": false,
@ -204,8 +198,7 @@ All feature toggles can also take an array of variants. You can read more about
"overrides": [],
"weightType": "variable"
}
],
"createdAt": "2020-09-01T07:14:39.438Z"
]
}
]
}