Skip to content

Commit 74e58ed

Browse files
committed
replacement tickets
e621ng/e621ng@0452f8a
1 parent c549ff3 commit 74e58ed

File tree

2 files changed

+6
-14
lines changed

2 files changed

+6
-14
lines changed

api/components/schemas/ticketTypes.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,5 @@ enum:
88
- post
99
- set
1010
- user
11-
- wiki
11+
- wiki
12+
- replacement

api/paths/post_replacements/index.yaml

Lines changed: 4 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ summary: Search Post Replacements
22
operationId: searchPostReplacements
33
tags:
44
- Post Replacements
5-
description: When no results are found, an object with an `post_replacements` key is returned.
5+
description: Rejected replacements can only be seen by staff.
66
parameters:
77
- $ref: "../../components/parameters/limit.yaml"
88
- $ref: "../../components/parameters/page.yaml"
@@ -71,15 +71,6 @@ responses:
7171
content:
7272
application/json:
7373
schema:
74-
anyOf:
75-
- type: array
76-
items:
77-
$ref: "../../components/schemas/postReplacement.yaml"
78-
- type: object
79-
description: No Results
80-
required:
81-
- post_replacements
82-
properties:
83-
post_replacements:
84-
type: array
85-
maxItems: 0
74+
type: array
75+
items:
76+
$ref: "../../components/schemas/postReplacement.yaml"

0 commit comments

Comments
 (0)