Outdated documentation on connector HTTP endpoints?

edited 2 days ago
I've been using a custom python script (from https://github.com/parchd-1/qutebrowser-zotero) to import items from webpages usging Qutebrowser. Worked fine until some time ago. As far as I can see, the issue now is that "savePage" endpoint does not exist any more, even though Zotero replies to "ping" endpoint:

$ curl -i http://127.0.0.1:23119/connector/ping
HTTP/1.0 200 OK
X-Zotero-Version: 7.0.30
X-Zotero-Connector-API-Version: 3
Content-Type: text/html

<!DOCTYPE html><html><body>Zotero is running</body></html>%

$ curl -i http://127.0.0.1:23119/connector/savePage
HTTP/1.0 404 Not Found
X-Zotero-Version: 7.0.30
X-Zotero-Connector-API-Version: 3
Content-Type: text/plain

No endpoint found


However the documentation still lists this endpoint at https://www.zotero.org/support/dev/client_coding/connector_http_server

Help/hint on how to use the new connector HTTP API will be appreciated.

P.S. Using Zotero verion 7.0.30

  • Yes, the documentation is outdated. I've removed the savePage entry. These are developer documentation pages and the expectation of developers is that they read the Zotero source code. These guides are intended for orientation, and as the Zotero codebase is constantly updated, the developer guides are not always up-to-date.

    There currently is no way to make Zotero save a page via a provided URL. This feature has been removed as more and more websites block Zotero from even opening them as part of their bot detection, and it's also no longer used by Zotero Connectors.

    We recommend either saving by providing a DOI in Zotero application or using the Zotero Connector with a supported browser for item saving, which will make sure that the intended item is saved, or an appropriate troubleshooting error is shown when the save fails.
Sign In or Register to comment.