mirror of
				https://github.com/NodeBB/NodeBB.git
				synced 2025-10-30 18:46:01 +01:00 
			
		
		
		
	fix: adjust world schema
This commit is contained in:
		| @@ -17,8 +17,13 @@ get: | |||||||
|         application/json: |         application/json: | ||||||
|           schema: |           schema: | ||||||
|             allOf: |             allOf: | ||||||
|  |               - $ref: ../components/schemas/CategoryObject.yaml#/CategoryObject | ||||||
|               - type: object |               - type: object | ||||||
|                 properties: |                 properties: | ||||||
|  |                   tagWhitelist: | ||||||
|  |                     type: array | ||||||
|  |                     items: | ||||||
|  |                       type: string | ||||||
|                   topicCount: |                   topicCount: | ||||||
|                     type: number |                     type: number | ||||||
|                   topics: |                   topics: | ||||||
| @@ -61,12 +66,48 @@ get: | |||||||
|                   #   type: array |                   #   type: array | ||||||
|                   #   items: |                   #   items: | ||||||
|                   #     type: string |                   #     type: string | ||||||
|                   # feeds:disableRSS: |                   isWatched: | ||||||
|                   #   type: number |                     type: boolean | ||||||
|                   # rssFeedUrl: |                   isTracked: | ||||||
|                   #   type: string |                     type: boolean | ||||||
|                   # title: |                   isNotWatched: | ||||||
|                   #   type: string |                     type: boolean | ||||||
|  |                   isIgnored: | ||||||
|  |                     type: boolean | ||||||
|  |                   feeds:disableRSS: | ||||||
|  |                     type: number | ||||||
|  |                   rssFeedUrl: | ||||||
|  |                     type: string | ||||||
|  |                   reputation:disabled: | ||||||
|  |                     type: number | ||||||
|  |                   title: | ||||||
|  |                     type: string | ||||||
|  |                   privileges: | ||||||
|  |                     type: object | ||||||
|  |                     properties: | ||||||
|  |                       topics:create: | ||||||
|  |                         type: boolean | ||||||
|  |                       topics:read: | ||||||
|  |                         type: boolean | ||||||
|  |                       topics:tag: | ||||||
|  |                         type: boolean | ||||||
|  |                       topics:schedule: | ||||||
|  |                         type: boolean | ||||||
|  |                       read: | ||||||
|  |                         type: boolean | ||||||
|  |                       posts:view_deleted: | ||||||
|  |                         type: boolean | ||||||
|  |                       cid: | ||||||
|  |                         type: string | ||||||
|  |                       uid: | ||||||
|  |                         type: number | ||||||
|  |                         description: A user identifier | ||||||
|  |                       editable: | ||||||
|  |                         type: boolean | ||||||
|  |                       view_deleted: | ||||||
|  |                         type: boolean | ||||||
|  |                       isAdminOrMod: | ||||||
|  |                         type: boolean | ||||||
|                   # filters: |                   # filters: | ||||||
|                   #   type: array |                   #   type: array | ||||||
|                   #   items: |                   #   items: | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user