Skip to content

Node.js based forum software built for the modern web

docs: add missing privileges prop to world schema

Julian Lam4ef9d5fa55a3
diff --git a/public/openapi/read/world.yaml b/public/openapi/read/world.yaml
index 745d04348a..450d49e362 100644
--- a/public/openapi/read/world.yaml
+++ b/public/openapi/read/world.yaml
@@ -48,6 +48,33 @@ get:
hasFollowers:
type: boolean
nullable: true
+ privileges:
+ type: object
+ properties:
+ topics:create:
+ type: boolean
+ topics:read:
+ type: boolean
+ topics:schedule:
+ type: boolean
+ topics:tag:
+ type: boolean
+ read:
+ type: boolean
+ posts:view_deleted:
+ type: boolean
+ cid:
+ type: string
+ example: '-1'
+ uid:
+ type: number
+ description: A user identifier
+ editable:
+ type: boolean
+ view_deleted:
+ type: boolean
+ isAdminOrMod:
+ type: boolean
title:
type: string
topicCount: