From c01ce2d3be35627a79810b4300a0c75ffdda1b11 Mon Sep 17 00:00:00 2001 From: sveisvei Date: Wed, 2 Nov 2016 12:55:14 +0100 Subject: [PATCH] format json --- docs/api-v1.md | 34 +++++++++++++++++----------------- 1 file changed, 17 insertions(+), 17 deletions(-) diff --git a/docs/api-v1.md b/docs/api-v1.md index 68ed02bf11..189af72d68 100644 --- a/docs/api-v1.md +++ b/docs/api-v1.md @@ -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" } } ```