Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
dev:web_api:v3:types_and_fields [2017/11/12 19:53] – external edit 127.0.0.1 | dev:web_api:v3:types_and_fields [2019/12/07 18:46] (current) – Mention /schema tomas_fiers | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | < | ||
- | in the process of updating the documentation for | ||
- | <a href=" | ||
- | may be outdated in the meantime. Thanks for your understanding.</ | ||
- | |||
- | |||
====== Zotero Web API Item Type/Field Requests ====== | ====== Zotero Web API Item Type/Field Requests ====== | ||
For a [[start|Zotero Web API]] client to present an editing UI to its users, it must know what combinations of Zotero item types, fields, and creator types are valid. Clients can request this data from the Zotero API. | For a [[start|Zotero Web API]] client to present an editing UI to its users, it must know what combinations of Zotero item types, fields, and creator types are valid. Clients can request this data from the Zotero API. | ||
- | 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 '' | + | 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 '' |
+ | |||
+ | User-friendly type/field names will be returned in English by default. Clients can request names in other languages by passing a '' | ||
- | User-friendly type/field names will be returned in English by default. Clients | + | Note: the entire schema, including translations for all locales, |
==== Getting All Item Types ==== | ==== Getting All Item Types ==== |