Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
dev:web_api:v2:file_upload [2013/02/09 18:50] – [ii. Create child attachment item] dstillmandev:web_api:v2:file_upload [2017/11/27 04:18] (current) – Remove Zotero 5 warning bwiernik
Line 1: Line 1:
-====== Zotero Server API File Uploads ======+====== Zotero Web API File Uploads ======
  
-In addition to providing ways to [[read_requests|read]] and [[write_requests|write]] online library data, the Zotero Server API allows you to upload attachment files.+**This is version 2 of the Zotero Web API. For new development, use [[:dev/web_api/v3/start|API version 3]].** 
 + 
 +In addition to providing ways to [[read_requests|read]] and [[write_requests|write]] online library data, the Zotero Web API allows you to upload attachment files.
  
 The exact process depends on whether you are adding a new attachment file or modifying an existing one and whether you are performing a full upload or uploading a binary diff. The exact process depends on whether you are adding a new attachment file or modifying an existing one and whether you are performing a full upload or uploading a binary diff.
Line 30: Line 32:
   POST /users/<userID>/items   POST /users/<userID>/items
   Content-Type: application/json   Content-Type: application/json
-  X-Zotero-Write-Token: <token>+  Zotero-Write-Token: <token>
  
 <code javascript>{ <code javascript>{
dev/web_api/v2/file_upload.1360453859.txt.gz · Last modified: 2013/02/09 18:50 by dstillman