add description to the output id argument

After struggling a bit to find the right argument, I think this description is a little more clear to what should be passed (tried the pin number and zero-based array before finding the right way in the code)
This commit is contained in:
Pierre-Alexis Ciavaldini
2021-08-03 19:58:21 +02:00
committed by GitHub
parent 607fc1d2fb
commit d56eab29e9

4
API.md
View File

@@ -144,7 +144,7 @@ Error Responses:
Endpoint: **PATCH** `/outputs/<id>`
*Note: id needs to be int (index_id)*
*Note: id needs to be int (index_id), one-based index in octoprint settings' enclosure section's `rpi_outputs` list*
Body (Content-Type: `application/json`):
```
@@ -340,4 +340,4 @@ Body: empty
Response (204): No-Content
Error Responses:
- none
- none