[status] Fix: Add missing API docs
Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
parent
56082ad577
commit
4ba3e595f2
1 changed files with 2 additions and 0 deletions
|
@ -34,9 +34,11 @@ type (
|
||||||
|
|
||||||
func init() {
|
func init() {
|
||||||
registerRoute(plugins.HTTPRouteRegistrationArgs{
|
registerRoute(plugins.HTTPRouteRegistrationArgs{
|
||||||
|
Description: "Provides a status JSON to check whether the bot is living",
|
||||||
HandlerFunc: handleStatusRequest,
|
HandlerFunc: handleStatusRequest,
|
||||||
Method: http.MethodGet,
|
Method: http.MethodGet,
|
||||||
Module: "status",
|
Module: "status",
|
||||||
|
Name: "Status",
|
||||||
Path: "/status.json",
|
Path: "/status.json",
|
||||||
QueryParams: []plugins.HTTPRouteParamDocumentation{
|
QueryParams: []plugins.HTTPRouteParamDocumentation{
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue