add /blogs/{blogID} and /blogs/lookup/{blogName} routes

This commit is contained in:
sam 2023-09-06 02:40:50 +02:00
parent dfc116d828
commit dd72a1f4c1
Signed by: sam
GPG key ID: B4EF20DDE721CAA1
5 changed files with 104 additions and 1 deletions

View file

@ -53,6 +53,8 @@ const (
// Controls whether tokens have access to sensitive account data, NOT if they can use `/accounts/@me` endpoints.
TokenScopeAccountsMe TokenScope = "accounts.me"
TokenScopeAccountsWrite TokenScope = "accounts.write"
TokenScopeBlogsRead TokenScope = "blogs.read"
TokenScopeBlogsWrite TokenScope = "blogs.write"
)
func (s TokenScope) IsValid() bool {