Skip to content

Commit cf08b6e

Browse files
committed
more minor fixes
1 parent 7c4bd0c commit cf08b6e

File tree

1 file changed

+26
-47
lines changed

1 file changed

+26
-47
lines changed

openapi.yaml

Lines changed: 26 additions & 47 deletions
Original file line numberDiff line numberDiff line change
@@ -5435,7 +5435,7 @@ paths:
54355435
404:
54365436
$ref: "#/components/responses/NotFound"
54375437
/forum_topics/mark_all_as_read.json:
5438-
put:
5438+
post:
54395439
summary: Mark All Forum Topics As Read
54405440
tags:
54415441
- Forum Topics
@@ -6025,9 +6025,9 @@ paths:
60256025
$ref: "#/components/responses/ExpectedError"
60266026
/news_updates/{id}.json:
60276027
patch:
6028-
summary: Edit News Updates
6028+
summary: Edit News Update
60296029
tags:
6030-
- Help Pages
6030+
- News Updates
60316031
security:
60326032
- basicAuth: []
60336033
description: You must be Admin+
@@ -8493,7 +8493,7 @@ paths:
84938493
$ref: "#/components/responses/AccessDenied"
84948494
404:
84958495
$ref: "#/components/responses/NotFound"
8496-
/tags/aliases/{id}/approve.json:
8496+
/tag_aliases/{id}/approve.json:
84978497
post:
84988498
summary: Approve Tag Alias
84998499
tags:
@@ -8704,7 +8704,7 @@ paths:
87048704
$ref: "#/components/responses/AccessDenied"
87058705
404:
87068706
$ref: "#/components/responses/NotFound"
8707-
/tags/implications/{id}/approve.json:
8707+
/tag_implications/{id}/approve.json:
87088708
post:
87098709
summary: Approve Tag Implication
87108710
tags:
@@ -9888,32 +9888,6 @@ paths:
98889888
403:
98899889
$ref: "#/components/responses/AccessDenied"
98909890
/maintenance/user/dmail_filter.json:
9891-
get:
9892-
summary: Get User Name Change Request
9893-
tags:
9894-
- User Name Change Requests
9895-
security:
9896-
- basicAuth: []
9897-
description: You must be the creator of the request or Moderator+.
9898-
parameters:
9899-
- name: id
9900-
in: path
9901-
required: true
9902-
description: The ID of the name change request.
9903-
schema:
9904-
type: number
9905-
responses:
9906-
200:
9907-
description: Success
9908-
content:
9909-
application/json:
9910-
schema:
9911-
$ref: "#/components/schemas/UserNameChangeRequest"
9912-
403:
9913-
$ref: "#/components/responses/AccessDenied"
9914-
404:
9915-
$ref: "#/components/responses/NotFound"
9916-
/user_revert.json:
99179891
patch:
99189892
summary: Update User Dmail Filter
99199893
tags:
@@ -10251,27 +10225,30 @@ paths:
1025110225
$ref: "#/components/responses/AccessDenied"
1025210226
422:
1025310227
$ref: "#/components/responses/ExpectedError"
10254-
/user_name_change_request/{id}.json:
10255-
post:
10256-
summary: Revert User
10228+
/user_name_change_requests/{id}.json:
10229+
get:
10230+
summary: Get User Name Change Request
1025710231
tags:
10258-
- Users
10232+
- User Name Change Requests
1025910233
security:
1026010234
- basicAuth: []
10261-
description: You must be Moderator+.
10262-
requestBody:
10263-
content:
10264-
application/json:
10265-
schema:
10266-
type: object
10267-
required:
10268-
- user_id
10269-
properties:
10270-
user_id:
10271-
type: number
10235+
description: You must be the creator of the request or Moderator+.
10236+
parameters:
10237+
- name: id
10238+
in: path
10239+
required: true
10240+
description: The ID of the name change request.
10241+
schema:
10242+
type: number
1027210243
responses:
10273-
302:
10244+
200:
1027410245
description: Success
10246+
content:
10247+
application/json:
10248+
schema:
10249+
$ref: "#/components/schemas/UserNameChangeRequest"
10250+
403:
10251+
$ref: "#/components/responses/AccessDenied"
1027510252
404:
1027610253
$ref: "#/components/responses/NotFound"
1027710254
# Wiki Pages
@@ -10901,6 +10878,7 @@ paths:
1090110878
summary: Approve Post
1090210879
tags:
1090310880
- Posts
10881+
- Post Approvals
1090410882
security:
1090510883
- basicAuth: []
1090610884
description: You must have the "Approve Posts" permission.
@@ -10927,6 +10905,7 @@ paths:
1092710905
summary: Unapprove Post
1092810906
tags:
1092910907
- Posts
10908+
- Post Approvals
1093010909
security:
1093110910
- basicAuth: []
1093210911
description: You must have the "Approve Posts" permission. The response does not differ for success or failure.

0 commit comments

Comments
 (0)