From 1285e00715bc5e9c76e4e3a4d61e182a40a127b0 Mon Sep 17 00:00:00 2001 From: Galen Guyer Date: Mon, 16 Nov 2020 10:26:30 -0500 Subject: add swagger for history route --- swagger.yaml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) 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" -- cgit v1.2.3