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:v3:write_requests [2024/10/10 02:05] – [Zotero-Write-Token] dstillmandev:web_api:v3:write_requests [2024/10/10 02:10] (current) – Keep Zotero-Write-Token before If-Unmodified-Since-Version for now dstillman
Line 89: Line 89:
   POST <userOrGroupPrefix>/items   POST <userOrGroupPrefix>/items
   Content-Type: application/json   Content-Type: application/json
-  If-Unmodified-Since-Version: <last library version> or Zotero-Write-Token: <write token>+  Zotero-Write-Token: <write token> or If-Unmodified-Since-Version: <last library version>
  
 <code>[ <code>[
Line 127: Line 127:
 | ''400 Bad Request'' | Invalid type/field; unparseable JSON | | ''400 Bad Request'' | Invalid type/field; unparseable JSON |
 | ''409 Conflict'' | The target library is locked. | | ''409 Conflict'' | The target library is locked. |
-| ''412 Precondition Failed'' | The provided ''Zotero-Write-Token'' has already been submitted. |+| ''412 Precondition Failed'' | The version provided in ''If-Unmodified-Since-Version'' is out of date, or the provided ''Zotero-Write-Token'' has already been submitted. |
 | ''413 Request Entity Too Large'' | Too many items submitted | | ''413 Request Entity Too Large'' | Too many items submitted |
  
Line 266: Line 266:
   POST <userOrGroupPrefix>/collections   POST <userOrGroupPrefix>/collections
   Content-Type: application/json   Content-Type: application/json
-  If-Unmodified-Since-Version: <last library version> or Zotero-Write-Token: <write token>+  Zotero-Write-Token: <write token> or If-Unmodified-Since-Version: <last library version>
  
 <code>[ <code>[
Line 339: Line 339:
   POST <userOrGroupPrefix>/searches   POST <userOrGroupPrefix>/searches
   Content-Type: application/json   Content-Type: application/json
-  If-Unmodified-Since-Version: <last library version> or Zotero-Write-Token: <write token>+  Zotero-Write-Token: <write token> or If-Unmodified-Since-Version: <last library version>
  
 <code>[ <code>[
Line 401: Line 401:
   POST <userOrGroupPrefix>/collections   POST <userOrGroupPrefix>/collections
   Content-Type: application/json   Content-Type: application/json
-  If-Unmodified-Since-Version: <last library version> or Zotero-Write-Token: <write token>+  Zotero-Write-Token: <write token> or If-Unmodified-Since-Version: <last library version>
  
 <code>[ <code>[
dev/web_api/v3/write_requests.1728540358.txt.gz · Last modified: 2024/10/10 02:05 by dstillman