Skip to content

Commit 3f890b0

Browse files
パラメーターに違反報告の詳細を追加
1 parent 7385f67 commit 3f890b0

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

api-template.yaml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -214,6 +214,17 @@ Resources:
214214
type: string
215215
created_at:
216216
type: integer
217+
MeArticlesFraudCreate:
218+
type: object
219+
properties:
220+
reason:
221+
type: string
222+
plagiarism_url:
223+
type: string
224+
plagiarism_description:
225+
type: string
226+
illegal_content:
227+
type: string
217228
paths:
218229
/search/articles:
219230
get:
@@ -883,6 +894,11 @@ Resources:
883894
description: '対象記事の指定するために使用'
884895
required: true
885896
type: 'string'
897+
- name: 'FraudContents'
898+
in: 'body'
899+
description: '違反報告の内容'
900+
schema:
901+
$ref: '#/definitions/MeArticlesFraudCreate'
886902
responses:
887903
'200':
888904
description: '不正報告の実施成功'

0 commit comments

Comments
 (0)