From 82e09b4bc1d0957ee95dd113bf9159c67cacaec1 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" } } ```