Skip to content

Commit

Permalink
doc(readme): add grafana_dashboards to API doc
Browse files Browse the repository at this point in the history
  • Loading branch information
Guillaumebeuzeboc committed Feb 21, 2024
1 parent 18dbd43 commit 454a6fc
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ requiring to access the device database.

> | name | type | data type | description |
> |-----------|-----------|-------------------------|-----------------------------------------------------------------------|
> | None | required | {"uid": "string", "address": "string"} | Unique ID and IP address of the device |
> | None | required | {"uid": "string", "address": "string", "grafana_dashboards"(optional): "list(grafana_json_dashboards)"} | Unique ID and IP address of the device. Grafana dashboards is an optional list of Grafana JSON dashboards |

##### Responses
Expand All @@ -98,7 +98,7 @@ requiring to access the device database.

> | http code | content-type | response |
> |---------------|-----------------------------------|---------------------------------------------------------------------|
> | `200` | `application/json` | {"uid": "string", "creation_date": "string", "address": "string"} |
> | `200` | `application/json` | {"uid": "string", "creation_date": "string", "address": "string", "grafana_dashboards": "list(grafana_json_dashboards)"} |
> | `404` | `text/html;charset=utf-8` | None |
</details>
Expand All @@ -109,7 +109,7 @@ requiring to access the device database.

> | name | type | data type | description |
> |-----------|-----------|-------------------------|-----------------------------------------------------------------------|
> | None | required | {"address": "string"} | Address to modify. |
> | None | required | {"field: "value"} | Field to modify. Can be: address and grafana_dashboards |

##### Responses
Expand Down

0 comments on commit 454a6fc

Please sign in to comment.