From 19e385413460320dee16db71d366b61be63aff66 Mon Sep 17 00:00:00 2001 From: "J. Nick Koston" Date: Mon, 2 Mar 2020 05:13:24 -0600 Subject: [PATCH] =?UTF-8?q?Rest=20sensors=20to=20support=20"text/xml"=20or?= =?UTF-8?q?=20"application/xml"=20per=20rf=E2=80=A6=20(#12202)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- 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 ecb7d3d5e0a..81b43e1de1b 100644 --- a/source/_integrations/rest.markdown +++ b/source/_integrations/rest.markdown @@ -105,7 +105,7 @@ headers: required: false type: [string, list] 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) + 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" or "application/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_attributes_path: