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

Commit

Permalink
Require 'metadata' param in addmetadata item PUT docs
Browse files Browse the repository at this point in the history
  • Loading branch information
mgrauer committed Dec 10, 2015
1 parent e3277af commit 14d2dc0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion core/controllers/components/ApiitemComponent.php
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ public function itemSetmultiplemetadata($args)
* @path /item/addmetadata/{id}
* @http PUT
* @param id The id of the item
* @param metadata The metadata list to add or update, should be passed in the request body
* @param metadata The metadata list to add or update, must be passed in the request body
* as 'application/json'.
* @param revision (Optional) Item Revision number to set metadata on, defaults to latest revision.
* @return item on success,
Expand Down
2 changes: 1 addition & 1 deletion modules/api/controllers/components/ApiComponent.php
Original file line number Diff line number Diff line change
Expand Up @@ -776,7 +776,7 @@ public function itemSetmultiplemetadata($args)
*
* @param token Authentication token
* @param itemid The id of the item
* @param metadata The metadata list to add or update, should be passed in the request body
* @param metadata The metadata list to add or update, must be passed in the request body
* as 'application/json'.
* @param revision (Optional) Item Revision number to set metadata on, defaults to latest revision.
* @return item on success,
Expand Down

0 comments on commit 14d2dc0

Please sign in to comment.