Update documentation

This commit is contained in:
GitHub Action
2022-01-25 20:19:48 +00:00
parent fe561c2154
commit 689e1d3fd5
2 changed files with 26 additions and 26 deletions

View File

@ -684,19 +684,19 @@ This is the format template used to create the json above.
.. code-block:: .. code-block::
{ {
"name" : "gravmon", " "name" : "gravmon",
"ID": "${id}", " "ID": "${id}",
"token" : "gravmon", " "token" : "gravmon",
"interval": ${sleep-interval}, " "interval": ${sleep-interval},
"temperature": ${temp}, " "temperature": ${temp},
"temp-units": "${temp-unit}", " "temp-units": "${temp-unit}",
"gravity": ${gravity}, " "gravity": ${gravity},
"angle": ${angle}, " "angle": ${angle},
"battery": ${battery}, " "battery": ${battery},
"rssi": ${rssi}, " "rssi": ${rssi},
"corr-gravity": ${corr-gravity}, " "corr-gravity": ${corr-gravity},
"gravity-unit": "${gravity-unit}", " "gravity-unit": "${gravity-unit}",
"run-time": ${run-time} " "run-time": ${run-time}
} }

View File

@ -845,19 +845,19 @@ present or the API call will fail.</p>
</div> </div>
<p>This is the format template used to create the json above.</p> <p>This is the format template used to create the json above.</p>
<div class="highlight-default notranslate"><div class="highlight"><pre><span></span>{ <div class="highlight-default notranslate"><div class="highlight"><pre><span></span>{
"name" : "gravmon", " "name" : "gravmon",
"ID": "${id}", " "ID": "${id}",
"token" : "gravmon", " "token" : "gravmon",
"interval": ${sleep-interval}, " "interval": ${sleep-interval},
"temperature": ${temp}, " "temperature": ${temp},
"temp-units": "${temp-unit}", " "temp-units": "${temp-unit}",
"gravity": ${gravity}, " "gravity": ${gravity},
"angle": ${angle}, " "angle": ${angle},
"battery": ${battery}, " "battery": ${battery},
"rssi": ${rssi}, " "rssi": ${rssi},
"corr-gravity": ${corr-gravity}, " "corr-gravity": ${corr-gravity},
"gravity-unit": "${gravity-unit}", " "gravity-unit": "${gravity-unit}",
"run-time": ${run-time} " "run-time": ${run-time}
} }
</pre></div> </pre></div>
</div> </div>