diff --git a/docs/api.md b/docs/api.md index bc4557b..b6c1c02 100644 --- a/docs/api.md +++ b/docs/api.md @@ -662,6 +662,34 @@ Replace `` with the ID of the entry. For example: `/staticreminders/2` | 200| N/A | Success | | 404 | ReminderNotFound | The reminder with the id can not be found | +### `/admin/shutdown` + +| Requires being logged in | Description | +| ------------------------ | ----------- | +| Yes | Shut down the application | + +??? POST + + **Returns** + + | Code | Error | Description | + | ---- | ----- | ----------- | + | 201| N/A | Success | + +### `/admin/restart` + +| Requires being logged in | Description | +| ------------------------ | ----------- | +| Yes | Restart the application | + +??? POST + + **Returns** + + | Code | Error | Description | + | ---- | ----- | ----------- | + | 201| N/A | Success | + ### `/settings` | Requires being logged in | Description |