Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revisionBoth sides next revision
dev:web_api:v2:write_requests [2013/03/03 16:51] – [Updating Multiple Objects] dstillmandev:web_api:v2:write_requests [2013/11/25 14:13] – clarify multi-object write limit dstillman
Line 205: Line 205:
  
 See [[#creating_multiple_objects|Creating Multiple Objects]] for more information on the response format. See [[#creating_multiple_objects|Creating Multiple Objects]] for more information on the response format.
 +
 ==== Creating Multiple Items ==== ==== Creating Multiple Items ====
  
 See [[#creating_multiple_objects|Creating Multiple Objects]]. See [[#creating_multiple_objects|Creating Multiple Objects]].
 +
 ==== Updating an Existing Item ==== ==== Updating an Existing Item ====
  
Line 289: Line 291:
 ==== Updating Multiple Items ==== ==== Updating Multiple Items ====
  
-See the [[#updating_multiple_objects|Updating Multiple Objects]].+See [[#updating_multiple_objects|Updating Multiple Objects]]. 
 ==== Deleting an Item ==== ==== Deleting an Item ====
  
Line 463: Line 466:
 ==== Creating Multiple Objects ==== ==== Creating Multiple Objects ====
  
-Multiple collections, saved searches, and items can be created in the same requests by including multiple objects in the ''collections'', ''searches'', and ''items'' properties:+Up to 50 collections, saved searches, or items can be created in a single request by including multiple objects in the ''collections'', ''searches'', or ''items'' property:
  
   POST <userOrGroupPrefix>/collections   POST <userOrGroupPrefix>/collections
Line 519: Line 522:
  
 === Updating Multiple Objects === === Updating Multiple Objects ===
 +
 +Up to 50 collections, saved searches, or items can be updated in a single request.
  
 Follow the instructions in [[#creating_multiple_objects|Creating Multiple Objects]], but add an ''itemKey'', ''collectionKey'', or ''searchKey'' property to each object. Pass the current library version as ''If-Unmodified-Since-Version'', replacing ''Zotero-Write-Token'', or include an ''itemVersion'', ''collectionVersion'', or ''searchVersion'' in each object. Follow the instructions in [[#creating_multiple_objects|Creating Multiple Objects]], but add an ''itemKey'', ''collectionKey'', or ''searchKey'' property to each object. Pass the current library version as ''If-Unmodified-Since-Version'', replacing ''Zotero-Write-Token'', or include an ''itemVersion'', ''collectionVersion'', or ''searchVersion'' in each object.
dev/web_api/v2/write_requests.txt · Last modified: 2017/11/27 04:17 by bwiernik