1
0
mirror of https://github.com/Unleash/unleash.git synced 2024-12-22 19:07:54 +01:00

format json

This commit is contained in:
sveisvei 2016-11-02 12:55:14 +01:00 committed by Ivar Conradi Østhus
parent 99ed8cc946
commit 82e09b4bc1

View File

@ -199,25 +199,25 @@ Used to fetch all defined strategies and their defined paramters.
```json
{
version: 1,
strategies: [
"version": 1,
"strategies": [
{
name: "default",
description: "Default on/off strategy.",
parametersTemplate: null
"name": "default",
"description": "Default on/off strategy.",
"parametersTemplate": null
},
{
name: "ActiveForUserWithEmail",
description: "A comma separated list of email adresses this feature should be active for.",
parametersTemplate: {
emails: "string"
"name": "ActiveForUserWithEmail",
"description": "A comma separated list of email adresses this feature should be active for.",
"parametersTemplate": {
"emails": "string"
}
},
{
name: "Accounts",
description: "Enable for user accounts",
parametersTemplate: {
Accountname: "string"
"name": "Accounts",
"description": "Enable for user accounts",
"parametersTemplate": {
"Accountname": "string"
}
}
]}
@ -231,10 +231,10 @@ Used to fetch all defined strategies and their defined paramters.
```json
{
name: "ActiveForUserWithEmail",
description: "A comma separated list of email adresses this feature should be active for.",
parametersTemplate: {
emails: "string"
"name": "ActiveForUserWithEmail",
"description": "A comma separated list of email adresses this feature should be active for.",
"parametersTemplate": {
"emails": "string"
}
}
```