Add character_encoding doc to REST and Scrape (#26730)

Co-authored-by: G Johansson <goran.johansson@shiftit.se>
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
This commit is contained in:
Olivier Ouellet 2023-03-28 07:10:30 -04:00 committed by GitHub
parent 9cb1c2d3d6
commit 4ceea0a8fe
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 10 additions and 0 deletions

View File

@ -162,6 +162,11 @@ scan_interval:
required: false required: false
type: integer type: integer
default: 30 default: 30
encoding:
description: The character encoding to use if none provided in the header of the shared data.
required: false
type: string
default: UTF-8
sensor: sensor:
description: A list of sensors to create from the shared data. All configuration settings that are supported by [RESTful Sensor](/integrations/sensor.rest#configuration-variables) not listed above can be used here. description: A list of sensors to create from the shared data. All configuration settings that are supported by [RESTful Sensor](/integrations/sensor.rest#configuration-variables) not listed above can be used here.
required: false required: false

View File

@ -92,6 +92,11 @@ scan_interval:
required: false required: false
type: integer type: integer
default: 600 default: 600
encoding:
description: The character encoding to use if none provided in the header of the shared data.
required: false
type: string
default: UTF-8
sensor: sensor:
description: A list of sensors to create from the shared data. All configuration settings that are supported by [RESTful Sensor](/integrations/sensor.rest#configuration-variables) not listed above can be used here. description: A list of sensors to create from the shared data. All configuration settings that are supported by [RESTful Sensor](/integrations/sensor.rest#configuration-variables) not listed above can be used here.
required: true required: true