Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
dev:web_api:v3:types_and_fields [2017/11/12 19:53]
127.0.0.1 external edit
dev:web_api:v3:types_and_fields [2019/06/17 19:36] (current)
dstillman
Line 1: Line 1:
-<​html><​p id="​zotero-5-update-warning"​ style="​color:​ red; font-weight:​ bold">​We’re 
-in the process of updating the documentation for 
-<a href="​https://​www.zotero.org/​blog/​zotero-5-0">​Zotero 5.0</​a>​. Some documentation 
-may be outdated in the meantime. Thanks for your understanding.</​p></​html>​ 
- 
- 
 ====== Zotero Web API Item Type/Field Requests ====== ====== Zotero Web API Item Type/Field Requests ======
  
Line 11: Line 5:
 As schema changes are currently rare, clients should cache type/field data for a period of time (e.g., one hour) without making further requests. Subsequent requests for new data should then include ''​If-Modified-Since''​ headers containing the contents of the ''​Last-Modified''​ header from the original response. If no changes have occurred, the server will return a ''​304 Not Modified''​ and clients should continue to use cached data for the same period of time. //​[Conditional requests are not yet implemented.]//​ As schema changes are currently rare, clients should cache type/field data for a period of time (e.g., one hour) without making further requests. Subsequent requests for new data should then include ''​If-Modified-Since''​ headers containing the contents of the ''​Last-Modified''​ header from the original response. If no changes have occurred, the server will return a ''​304 Not Modified''​ and clients should continue to use cached data for the same period of time. //​[Conditional requests are not yet implemented.]//​
  
-User-friendly type/field names will be returned in English by default. Clients can request names in other languages by passing a ''​locale''​ parameter (e.g., ''​GET /​itemTypes?​locale=fr-FR''​). ​//​[Non-English locales are not yet implemented.]//​+User-friendly type/field names will be returned in English by default. Clients can request names in other languages by passing a ''​locale''​ parameter (e.g., ''​GET /​itemTypes?​locale=fr-FR''​).
  
 ==== Getting All Item Types ==== ==== Getting All Item Types ====
dev/web_api/v3/types_and_fields.1510534411.txt.gz · Last modified: 2019/06/17 19:36 (external edit)