@@ -171,7 +171,7 @@ paths:
171171 get :
172172 summary : Get Global Avatar Moderations
173173 operationId : getGlobalAvatarModerations
174- description : Returns list of globally blocked avatars.
174+ description : Returns list of globally moderated avatars.
175175 tags :
176176 - authentication
177177 security :
@@ -181,6 +181,41 @@ paths:
181181 $ref : ../responses/authentication/GetAvatarModerationsResponse.yaml
182182 ' 401 ' :
183183 $ref : ../responses/MissingCredentialsError.yaml
184+ post :
185+ summary : Create Global Avatar Moderation
186+ operationId : createGlobalAvatarModeration
187+ description : Globally moderates an avatar.
188+ requestBody :
189+ required : true
190+ content :
191+ application/json :
192+ schema :
193+ $ref : ../requests/CreateAvatarModerationRequest.yaml
194+ tags :
195+ - authentication
196+ security :
197+ - authCookie : []
198+ responses :
199+ ' 200 ' :
200+ $ref : ../responses/authentication/CreateAvatarModerationResponse.yaml
201+ ' 401 ' :
202+ $ref : ../responses/MissingCredentialsError.yaml
203+ delete :
204+ summary : Delete Global Avatar Moderation
205+ operationId : deleteGlobalAvatarModeration
206+ description : Globally unmoderates an avatar.
207+ parameters :
208+ - $ref : ../parameters.yaml#/targetAvatarId
209+ - $ref : ../parameters.yaml#/avatarModerationType
210+ tags :
211+ - authentication
212+ security :
213+ - authCookie : []
214+ responses :
215+ ' 200 ' :
216+ $ref : ../responses/authentication/DeleteAvatarModerationResponse.yaml
217+ ' 401 ' :
218+ $ref : ../responses/MissingCredentialsError.yaml
184219 /auth/twofactorauth/otp/verify :
185220 post :
186221 summary : Verify 2FA code with Recovery code
0 commit comments