From d2a2deb10f0b8ac62a914d4f5d7dffddbb47d030 Mon Sep 17 00:00:00 2001 From: "J. Nick Koston" Date: Fri, 18 Mar 2022 16:06:07 -1000 Subject: [PATCH 1/2] Document `no_attributes` flag for history api --- docs/api/rest.md | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/api/rest.md b/docs/api/rest.md index 444e6944dd2..dfc46f63711 100644 --- a/docs/api/rest.md +++ b/docs/api/rest.md @@ -202,6 +202,7 @@ You can pass the following optional GET parameters: - `filter_entity_id=` to filter on one or more entities - comma separated. - `end_time=` to choose the end of the period in URL encoded format (defaults to 1 day). - `minimal_response` to only return `last_changed` and `state` for states other than the first and last state (much faster). +- `no_attributes` to avoid selecting attributes from the database (much faster). - `significant_changes_only` to only return significant state changes. Example without `minimal_response` From 9363d24d1ecf286bccd5b9461e06740eb945ab93 Mon Sep 17 00:00:00 2001 From: "J. Nick Koston" Date: Fri, 18 Mar 2022 16:14:53 -1000 Subject: [PATCH 2/2] Update docs/api/rest.md Co-authored-by: Teemu R. --- docs/api/rest.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/api/rest.md b/docs/api/rest.md index dfc46f63711..26091c403f5 100644 --- a/docs/api/rest.md +++ b/docs/api/rest.md @@ -202,7 +202,7 @@ You can pass the following optional GET parameters: - `filter_entity_id=` to filter on one or more entities - comma separated. - `end_time=` to choose the end of the period in URL encoded format (defaults to 1 day). - `minimal_response` to only return `last_changed` and `state` for states other than the first and last state (much faster). -- `no_attributes` to avoid selecting attributes from the database (much faster). +- `no_attributes` to skip returning attributes from the database (much faster). - `significant_changes_only` to only return significant state changes. Example without `minimal_response`