Add rest query params documentation (#15352)

This commit is contained in:
Moritz Schmitz von Hülst 2020-11-11 21:30:45 +01:00 committed by GitHub
parent 9a0e9f80b4
commit d86bed74db
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -104,6 +104,10 @@ headers:
description: The headers for the requests.
required: false
type: [string, list]
params:
description: The query params for the requests.
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" 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