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.
JSON Objects in the API
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
this.LINK_MODE_IMPORTED_FILE = 0; this.LINK_MODE_IMPORTED_URL = 1; this.LINK_MODE_LINKED_FILE = 2; this.LINK_MODE_LINKED_URL = 3;