OpenAPI and Zotero Web API

136 views
Skip to first unread message

Hugh Paterson III

unread,
Apr 17, 2024, 3:40:08 AM4/17/24
to zoter...@googlegroups.com
Greetings,

The Zotero Web API which is documented here: 

Does it have an OpenAPI Specification file (definition file documenting the API programmatically)?


We are looking to replicate the data available via the Zotero Web API in a web-app and would like to do that quickly. My understanding is that an OpenAPI Specification file would provide that sort of schematic information.

Kind regards,
Hugh Paterson III

Hugh Paterson III

unread,
Apr 18, 2024, 12:02:45 AM4/18/24
to zoter...@googlegroups.com
I am assuming that there is no OpenAPI specification file for the Zotero Web API. 

As I am digging in I found the database schema.json file for item types [https://api.zotero.org/schema]. However, I am continuing to read and have several questions:
1.  In regards to the ' "relations" : {} ' field I fail to find any documentation of possible values. What are the supported relations? I am hoping dcterms is supported, e.g. dcterms:hasVersion, dcterms:isVersionOf, etc. In one example (full-item updating PUT) I see: 

  "relations" : {
    "owl:sameAs" : "http://zotero.org/groups/1/items/JKLM6543",
    "dc:relation" : "http://zotero.org/groups/1/items/PQRS6789",
    "dc:replaces" : "http://zotero.org/users/1/items/BCDE5432"
  }

2. Are there lists of events which cause a Group or Collection version number to increment? For example, adding an item to a collection, does it cause the collection version to cinfrement, If I change the metadata on an item in a collection does that cause the version number to increment? 

Kind Regards,
Hugh
Reply all
Reply to author
Forward
0 new messages