Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
dev:web_api:v3:fulltext_content [2015/11/03 15:06] dstillmandev:web_api:v3:fulltext_content [2022/06/23 15:53] (current) – [Zotero Web API: Full-Text Content Requests] dstillman
Line 1: Line 1:
-====== Full-Text Content Requests ======+====== Zotero Web API Full-Text Content Requests ======
  
-This page documents the methods to access full-text content of Zotero items via the [[start|Zotero Server API]]. See the [[Basics]] page for basic information on accessing the API, including possible HTTP status codes not listed here.+This page documents the methods to access full-text content of Zotero items via the [[start|Zotero Web API]]. See the [[Basics]] page for basic information on accessing the API, including possible HTTP status codes not listed here.
  
 ==== Getting new full-text content ==== ==== Getting new full-text content ====
Line 20: Line 20:
 ^ Common responses ^^ ^ Common responses ^^
 | ''200 OK'' | Full-text content was successfully retrieved. | | ''200 OK'' | Full-text content was successfully retrieved. |
-| ''400 Bad Request'' | The 'newer' parameter was not provided. |+| ''400 Bad Request'' | The 'since' parameter was not provided. |
  
 ==== Getting an item's full-text content ==== ==== Getting an item's full-text content ====
Line 37: Line 37:
 }</code> }</code>
  
-''indexedChars'' and ''totalChars'' may be provided instead of ''indexedPages'' and ''totalPages''.+''indexedChars'' and ''totalChars'' are used for text documents, while ''indexedPages'' and ''totalPages'' are used for PDFs.
  
 ^ Common responses ^^ ^ Common responses ^^
Line 56: Line 56:
 ''<itemKey>'' should correspond to an existing attachment item. ''<itemKey>'' should correspond to an existing attachment item.
  
-''indexedPages'' and ''totalPages'' can be provided instead of ''indexedChars'' and ''totalChars''.+For text documents, include ''indexedChars'' and ''totalChars''. For PDFs, include ''indexedPages'' and ''totalPages''.
  
 ^ Common responses ^^ ^ Common responses ^^
dev/web_api/v3/fulltext_content.1446581205.txt.gz · Last modified: 2015/11/03 15:06 by dstillman