Hi everyone,
I'm trying to use the fulltext endpoint on the local API (GET <userOrGroupPrefix>/items/<itemKey>/fulltext) but it's not working. Other endpoints work fine, and the items definitely have fulltext content indexed in Zotero.
Is this endpoint supposed to work with the local API at http://localhost:23119/api/, or is it web API only?
Logs attached below showing the error.
Thanks!
(5)(+0001972): GET /api/users/5528649/items/T5UBI2R2 HTTP/1.1 host: localhost:23119 connection: keep-alive sec-ch-ua-platform: "Linux" user-agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/138.0.0.0 YaBrowser/25.8.0.0 Safari/537.36 sec-ch-ua: "Not)A;Brand";v="8", "Chromium";v="138", "YaBrowser";v="25.8", "Yowser";v="2.5" content-type: application/json sec-ch-ua-mobile: ?0 zotero-allowed-request: 1 accept: */* sec-fetch-site: none sec-fetch-mode: cors sec-fetch-dest: empty sec-fetch-storage-access: active accept-encoding: gzip, deflate, br, zstd accept-language: ru,en;q=0.9
(5)(+0000006): HTTP/1.0 200 OK X-Zotero-Version: 7.0.16 X-Zotero-Connector-API-Version: 2 Total-Results: 1 Link: <https://www.zotero.org/users/5528649/items/T5UBI2R2>; rel="alternate" Last-Modified-Version: 2436 Content-Type: application/json Zotero-API-Version: 3 Zotero-Schema-Version: 33 { "key": "T5UBI2R2", "version": 2436, "library": { "type": "user", "id": 5528649, "name": "My Library", "links": { "self": { "href": "http://localhost:23119/api/users/5528649", "type": "application/json" }, "alternate": { "href": "https://www.zotero.org/users/5528649", "type": "text/html" } } }, "links": { "self": { "href": "http://localhost:23119/api/users/5528649/items/T5UBI2R2", "type": "application/json" }, "alternate": { "href": "https://www.zotero.org/users/5528649/items/T5UBI2R2", "type": "text/html" }, "up": { "href": "http://localhost:23119/api/users/5528649/items/DF33QFUC", "type": "application/json" }, "enclosure": { "href": "file:///home/nest/Zotero/storage/T5UBI2R2/Kim%20et%20al.%20-%202007%20-%20The%20Perihepatic%20Space%20Comprehensive%20Anatomy%20and%20CT%20Features%20of%20Pathologic%20Conditions.pdf", "type": "application/pdf", "title": "Kim et al. - 2007 - The Perihepatic Space Comprehensive Anatomy and CT Features of Pathologic Conditions.pdf", "length": 1651202 } }, "meta": { "numChildren": 0 }, "data": { "key": "T5UBI2R2", "version": 2436, "itemType": "attachment", "title": "PDF", "parentItem": "DF33QFUC", "linkMode": "imported_file", "contentType": "application/pdf", "charset": "", "filename": "Kim et al. - 2007 - The P… (2313 chars)
(5)(+0007389): GET /api/users/5528649/items/T5UBI2R2/fulltext HTTP/1.1 host: localhost:23119 connection: keep-alive sec-ch-ua-platform: "Linux" user-agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/138.0.0.0 YaBrowser/25.8.0.0 Safari/537.36 sec-ch-ua: "Not)A;Brand";v="8", "Chromium";v="138", "YaBrowser";v="25.8", "Yowser";v="2.5" content-type: application/json sec-ch-ua-mobile: ?0 zotero-allowed-request: 1 accept: */* sec-fetch-site: none sec-fetch-mode: cors sec-fetch-dest: empty sec-fetch-storage-access: active accept-encoding: gzip, deflate, br, zstd accept-language: ru,en;q=0.9
(5)(+0000002): HTTP/1.0 404 Not Found X-Zotero-Version: 7.0.16 X-Zotero-Connector-API-Version: 2 Content-Type: text/plain No endpoint found