diff --git a/content/api/enterprise-api-ref/cmdb-api.markdown b/content/api/enterprise-api-ref/cmdb-api.markdown index d7f34c5e6..8b2360bd6 100644 --- a/content/api/enterprise-api-ref/cmdb-api.markdown +++ b/content/api/enterprise-api-ref/cmdb-api.markdown @@ -359,7 +359,7 @@ HTTP 200 Ok ```json { - "classes": { "My_class": {}, "My_class2": {"comment": "comment body"} } + "classes": { "My_class": {}, "My_class2": { "comment": "comment body" } } } ``` diff --git a/content/api/enterprise-api-ref/personal-groups.markdown b/content/api/enterprise-api-ref/personal-groups.markdown index 28dba9a6d..af8d3db12 100644 --- a/content/api/enterprise-api-ref/personal-groups.markdown +++ b/content/api/enterprise-api-ref/personal-groups.markdown @@ -42,7 +42,7 @@ The personal groups API enables creating host groups based on host filters (the ```json { "filter": { - "filter": { "Attribute name": {"operator": "value2"} }, + "filter": { "Attribute name": { "operator": "value2" } }, "hostFilter": { "includes": { "includeAdditionally": false, @@ -50,7 +50,11 @@ The personal groups API enables creating host groups based on host filters (the "ip": ["192.168.56.5"], "hostkey": [], "hostname": ["ubuntu-bionic"], - "mac": ["08:00:27:0b:a4:99", "08:00:27:dd:e1:59", "02:9f:d3:59:7e:90"], + "mac": [ + "08:00:27:0b:a4:99", + "08:00:27:dd:e1:59", + "02:9f:d3:59:7e:90" + ], "ip_mask": ["10.0.2.16/16"] } }, @@ -116,11 +120,7 @@ curl -k --user : \ "hostname": [ "ubuntu-bionic" ], - "mac": [ - "08:00:27:0b:a4:99", - "08:00:27:dd:e1:59", - "02:9f:d3:59:7e:90" - ], + "mac": ["08:00:27:0b:a4:99","08:00:27:dd:e1:59","02:9f:d3:59:7e:90"], "ip_mask": [ "10.0.2.16/16" ] @@ -190,7 +190,7 @@ curl -k --user : \ ```json { "filter": { - "filter": { "Attribute name": {"operator": "value2"} }, + "filter": { "Attribute name": { "operator": "value2" } }, "hostFilter": { "includes": { "includeAdditionally": false, @@ -296,7 +296,7 @@ curl -k --user : \ "owner": "admin", "creation_time": "2023-06-14 10:41:25.601112+00", "filter": { - "filter": { "Architecture": {"matches": "86"} }, + "filter": { "Architecture": { "matches": "86" } }, "hostContextExclude": "", "hostContextInclude": ["aix"] }, @@ -359,7 +359,7 @@ curl -k --user : \ "owner": "admin", "creation_time": "2023-06-14 10:41:25.601112+00", "filter": { - "filter": { "Architecture": {"matches": "86"} }, + "filter": { "Architecture": { "matches": "86" } }, "hostContextExclude": "", "hostContextInclude": ["aix"] } diff --git a/content/api/enterprise-api-ref/shared-groups.markdown b/content/api/enterprise-api-ref/shared-groups.markdown index 701bcd37b..146cc2aa5 100644 --- a/content/api/enterprise-api-ref/shared-groups.markdown +++ b/content/api/enterprise-api-ref/shared-groups.markdown @@ -45,7 +45,7 @@ The shared groups API enables creating host groups based on host filters (the sa ```json { "filter": { - "filter": { "Attribute name": {"operator": "value2"} }, + "filter": { "Attribute name": { "operator": "value2" } }, "hostFilter": { "includes": { "includeAdditionally": false, @@ -53,7 +53,11 @@ The shared groups API enables creating host groups based on host filters (the sa "ip": ["192.168.56.5"], "hostkey": [], "hostname": ["ubuntu-bionic"], - "mac": ["08:00:27:0b:a4:99", "08:00:27:dd:e1:59", "02:9f:d3:59:7e:90"], + "mac": [ + "08:00:27:0b:a4:99", + "08:00:27:dd:e1:59", + "02:9f:d3:59:7e:90" + ], "ip_mask": ["10.0.2.16/16"] } }, @@ -166,7 +170,7 @@ curl -k --user : \ ```json { "filter": { - "filter": { "Attribute name": {"operator": "value2"} }, + "filter": { "Attribute name": { "operator": "value2" } }, "hostFilter": { "includes": { "includeAdditionally": false, @@ -174,7 +178,11 @@ curl -k --user : \ "ip": ["192.168.56.5"], "hostkey": [], "hostname": ["ubuntu-bionic"], - "mac": ["08:00:27:0b:a4:99", "08:00:27:dd:e1:59", "02:9f:d3:59:7e:90"], + "mac": [ + "08:00:27:0b:a4:99", + "08:00:27:dd:e1:59", + "02:9f:d3:59:7e:90" + ], "ip_mask": ["10.0.2.16/16"] } }, @@ -277,7 +285,7 @@ curl -k --user : \ "creator": "admin", "creation_time": "2023-06-14 10:41:25.601112+00", "filter": { - "filter": { "Architecture": {"matches": "86"} }, + "filter": { "Architecture": { "matches": "86" } }, "hostContextExclude": "", "hostContextInclude": ["aix"] }, @@ -342,7 +350,7 @@ curl -k --user : \ "creator": "admin", "creation_time": "2023-06-14 10:41:25.601112+00", "filter": { - "filter": { "Architecture": {"matches": "86"} }, + "filter": { "Architecture": { "matches": "86" } }, "hostContextExclude": "", "hostContextInclude": ["aix"] } diff --git a/content/reference/language-concepts/augments.markdown b/content/reference/language-concepts/augments.markdown index 12a12bf65..238023aa2 100644 --- a/content/reference/language-concepts/augments.markdown +++ b/content/reference/language-concepts/augments.markdown @@ -130,7 +130,9 @@ For example: ```json { - "variables": { "VariableWithImplicitNamespaceAndBundle": {"value": "value"} } + "variables": { + "VariableWithImplicitNamespaceAndBundle": { "value": "value" } + } } ``` @@ -140,7 +142,9 @@ For example: ```json { - "variables": { "my_bundle.VariableWithImplicitNamespace": {"value": "value"} } + "variables": { + "my_bundle.VariableWithImplicitNamespace": { "value": "value" } + } } ``` @@ -150,7 +154,7 @@ For example: ```json { - "variables": { "MyNamespace:my_bundle.Variable": {"value": "value"} } + "variables": { "MyNamespace:my_bundle.Variable": { "value": "value" } } } ```