We’re in the process of updating the documentation for Zotero 5.0. Some documentation may be outdated in the meantime. Thanks for your understanding.
The Zotero write API and the JSON payloads of the read API are built around JSON representations of Zotero's collections, items, notes, and attachments.
This is a work in progress will be augmented with examples and explanations
tagMode (for attachments and notes too) fieldMode (for creators) link to valid creatortype and field lists
linkMode
this.LINK_MODE_IMPORTED_FILE = 0; this.LINK_MODE_IMPORTED_URL = 1; this.LINK_MODE_LINKED_FILE = 2; this.LINK_MODE_LINKED_URL = 3;