Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

REST: Add reset-endpoint #750

Open
wants to merge 15 commits into
base: main
Choose a base branch
from
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@
"deploy": "docusaurus deploy",
"clear": "docusaurus clear",
"serve": "docusaurus serve",
"format": "prettier --write . && node src/sortOpenAPI.js",
"format": "prettier --write . && npm run sort",
"sort": "node src/sortOpenAPI.js",
"write-translations": "docusaurus write-translations",
"write-heading-ids": "docusaurus write-heading-ids"
},
Expand Down
16 changes: 16 additions & 0 deletions static/rest-api.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -825,6 +825,22 @@ paths:
$ref: "#/components/schemas/LogAreas"
"401":
$ref: "#/components/responses/Unauthorized"
/system/reset:
post:
summary: TODO
description: TODO
security:
- cookieAuth: []
tags:
- System
responses:
"200":
description: Success
content:
text/plain:
schema:
type: string
example: OK
/system/shutdown:
post:
summary: Shutdown evcc
Expand Down