diff options
author | Galen Guyer <galen@galenguyer.com> | 2020-11-16 10:26:30 -0500 |
---|---|---|
committer | Galen Guyer <galen@galenguyer.com> | 2020-11-16 10:26:30 -0500 |
commit | 1285e00715bc5e9c76e4e3a4d61e182a40a127b0 (patch) | |
tree | 1e801242481af189ab999fccafe69702c261a52d | |
parent | cd55ef8e1751796edd1056313c0bd12cb3b16422 (diff) |
add swagger for history route
-rw-r--r-- | swagger.yaml | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/swagger.yaml b/swagger.yaml index 3eeed4b..e761cb2 100644 --- a/swagger.yaml +++ b/swagger.yaml @@ -31,6 +31,22 @@ paths: schema: type: "object" $ref: "#/definitions/Day" + /v0/history: + get: + tags: + - "v0" + summary: "Gets all historical data" + description: "Returns data from every day where the dashboard changed" + operationId: "getv0History" + produces: + - "application/json" + responses: + "200": + description: "successful operation" + schema: + type: "array" + items: + $ref: "#/definitions/Day" definitions: Day: type: "object" |