Skip to content

Commit b52658a

Browse files
authored
Merge pull request RCOSDP#16 from ivis-weko3-dev/revert-14-feature/W2024_58/swagger
Revert "add: Added swagger file for sword API."
2 parents 83c0862 + 24354a4 commit b52658a

1 file changed

Lines changed: 9 additions & 17 deletions

File tree

api/sword.yaml

Lines changed: 9 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -269,23 +269,6 @@ paths:
269269
application/json:
270270
schema:
271271
$ref: "#/components/schemas/ErrorDocument"
272-
put:
273-
tags:
274-
- deposit
275-
summary: アイテム更新機能
276-
description: |-
277-
recidを指定してリポジトリ上に存在するアイテムに対して、JSON-LD形式のメタデータで更新
278-
|ロール|動作|
279-
|----|----|
280-
|システム管理者|使用可能|
281-
|リポジトリ管理者|使用可能|
282-
|コミュニティ管理者|使用可能|
283-
|登録ユーザー|使用可能|
284-
|一般ユーザー|使用可能|
285-
|ゲストユーザー|使用不可|
286-
responses:
287-
"200":
288-
description: OK
289272
delete:
290273
tags:
291274
- deposit
@@ -313,6 +296,13 @@ paths:
313296
description: 代理投稿ユーザーのメールアドレスまたはePPN
314297
schema:
315298
type: string
299+
- name: recid
300+
in: path
301+
required: true
302+
description: レコードID
303+
schema:
304+
type: integer
305+
example: 20000021
316306
responses:
317307
"204":
318308
description: 空のレスポンスを返す
@@ -437,6 +427,8 @@ components:
437427
type: string
438428
services:
439429
type: array
430+
items:
431+
type: string
440432
example: [TODO: 設定値18を入れる]
441433
staging:
442434
type: string

0 commit comments

Comments
 (0)