mirror of
https://github.com/Unleash/unleash.git
synced 2024-12-22 19:07:54 +01:00
format json
This commit is contained in:
parent
99ed8cc946
commit
82e09b4bc1
@ -199,25 +199,25 @@ Used to fetch all defined strategies and their defined paramters.
|
|||||||
|
|
||||||
```json
|
```json
|
||||||
{
|
{
|
||||||
version: 1,
|
"version": 1,
|
||||||
strategies: [
|
"strategies": [
|
||||||
{
|
{
|
||||||
name: "default",
|
"name": "default",
|
||||||
description: "Default on/off strategy.",
|
"description": "Default on/off strategy.",
|
||||||
parametersTemplate: null
|
"parametersTemplate": null
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "ActiveForUserWithEmail",
|
"name": "ActiveForUserWithEmail",
|
||||||
description: "A comma separated list of email adresses this feature should be active for.",
|
"description": "A comma separated list of email adresses this feature should be active for.",
|
||||||
parametersTemplate: {
|
"parametersTemplate": {
|
||||||
emails: "string"
|
"emails": "string"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "Accounts",
|
"name": "Accounts",
|
||||||
description: "Enable for user accounts",
|
"description": "Enable for user accounts",
|
||||||
parametersTemplate: {
|
"parametersTemplate": {
|
||||||
Accountname: "string"
|
"Accountname": "string"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
]}
|
]}
|
||||||
@ -231,10 +231,10 @@ Used to fetch all defined strategies and their defined paramters.
|
|||||||
|
|
||||||
```json
|
```json
|
||||||
{
|
{
|
||||||
name: "ActiveForUserWithEmail",
|
"name": "ActiveForUserWithEmail",
|
||||||
description: "A comma separated list of email adresses this feature should be active for.",
|
"description": "A comma separated list of email adresses this feature should be active for.",
|
||||||
parametersTemplate: {
|
"parametersTemplate": {
|
||||||
emails: "string"
|
"emails": "string"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
Loading…
Reference in New Issue
Block a user