summaryrefslogtreecommitdiff
path: root/docs/swagger.go
diff options
context:
space:
mode:
authorLibravatar Tobi Smethurst <31960611+tsmethurst@users.noreply.github.com>2021-08-02 19:06:44 +0200
committerLibravatar GitHub <noreply@github.com>2021-08-02 19:06:44 +0200
commit0386a28b5a3c4212320e8a96ddd14c54b65a2090 (patch)
tree3bfdf198934215ac64acac9d66d952baf65c2752 /docs/swagger.go
parentfix breaky linky (diff)
downloadgotosocial-0386a28b5a3c4212320e8a96ddd14c54b65a2090.tar.xz
Frodo swaggins (#126)
* more swagger fun * document a whole bunch more stuff * more swagger yayyyyyyy * progress + go fmt
Diffstat (limited to 'docs/swagger.go')
-rw-r--r--docs/swagger.go7
1 files changed, 7 insertions, 0 deletions
diff --git a/docs/swagger.go b/docs/swagger.go
index cb9c1f863..a30700e4d 100644
--- a/docs/swagger.go
+++ b/docs/swagger.go
@@ -35,10 +35,17 @@
// scopes:
// read: grants read access to everything
// read:accounts: grants read access to accounts
+// read:blocks: grant read access to blocks
+// read:media: grant read access to media
+// read:search: grant read access to searches
+// read:statuses: grants read access to statuses
+// read:streaming: grants read access to streaming api
// write: grants write access to everything
// write:accounts: grants write access to accounts
// write:blocks: grants write access to blocks
// write:follows: grants write access to follows
+// write:media: grants write access to media
+// write:statuses: grants write access to statuses
// admin: grants admin access to everything
// admin:accounts: grants admin access to accounts
// OAuth2 Application: