diff --git a/pkg/routes/routes.go b/pkg/routes/routes.go index 544096c13..b618ab3b8 100644 --- a/pkg/routes/routes.go +++ b/pkg/routes/routes.go @@ -30,6 +30,8 @@ // @description # Authorization // @description **JWT-Auth:** Main authorization method, used for most of the requests. Needs `Authorization: Bearer `-header to authenticate successfully. // @description +// @description **API Token:** You can create scoped API tokens for your user and use the token to make authenticated requests in the context of that user. The token must be provided via an `Authorization: Bearer ` header, similar to jwt auth. See the documentation for the `api` group to manage token creation and revocation. +// @description // @description **BasicAuth:** Only used when requesting tasks via CalDAV. // @description // @BasePath /api/v1