From 166c1aa09288db539bc86f31c1f08f84e942d94d Mon Sep 17 00:00:00 2001 From: Brian Orpin Date: Thu, 27 Feb 2020 11:51:09 +0000 Subject: [PATCH] Option `json_path_attributes` incorrect (#12188) Option `json_path_attributes` should be `json_attributes_path`. --- source/_integrations/rest.markdown | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/_integrations/rest.markdown b/source/_integrations/rest.markdown index 77cdd9402f27..ecb7d3d5e0a5 100644 --- a/source/_integrations/rest.markdown +++ b/source/_integrations/rest.markdown @@ -108,7 +108,7 @@ json_attributes: description: A list of keys to extract values from a JSON dictionary result and then set as sensor attributes. If the endpoint returns XML with the "text/xml" content type, it will automatically be converted to JSON according to this [specification](https://www.xml.com/pub/a/2006/05/31/converting-between-xml-and-json.html) required: false type: [string, list] -json_path_attributes: +json_attributes_path: description: A [JSONPath](https://goessner.net/articles/JsonPath/) that references the location of the `json_attributes` in the JSON content. required: false type: string