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/12 19:07] – [Zotero Server API File Uploads] 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 ======
  
-**This is not currently the default [[read_requests#api_versioning|version]] of the Zotero API. Include the HTTP header ''Zotero-API-Version: 2'' to access this version.**+**This is version 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 Server API allows you to upload attachment files.+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 32: 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.1360714055.txt.gz · Last modified: 2013/02/12 19:07 by dstillman