Skip to content
This repository was archived by the owner on Sep 10, 2021. It is now read-only.

Commit 14d2dc0

Browse files
author
mgrauer
committed
Require 'metadata' param in addmetadata item PUT docs
1 parent e3277af commit 14d2dc0

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

core/controllers/components/ApiitemComponent.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,7 @@ public function itemSetmultiplemetadata($args)
179179
* @path /item/addmetadata/{id}
180180
* @http PUT
181181
* @param id The id of the item
182-
* @param metadata The metadata list to add or update, should be passed in the request body
182+
* @param metadata The metadata list to add or update, must be passed in the request body
183183
* as 'application/json'.
184184
* @param revision (Optional) Item Revision number to set metadata on, defaults to latest revision.
185185
* @return item on success,

modules/api/controllers/components/ApiComponent.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -776,7 +776,7 @@ public function itemSetmultiplemetadata($args)
776776
*
777777
* @param token Authentication token
778778
* @param itemid The id of the item
779-
* @param metadata The metadata list to add or update, should be passed in the request body
779+
* @param metadata The metadata list to add or update, must be passed in the request body
780780
* as 'application/json'.
781781
* @param revision (Optional) Item Revision number to set metadata on, defaults to latest revision.
782782
* @return item on success,

0 commit comments

Comments
 (0)