High-level entry point for communications with prismic.
Error thrown when communicating with prismic.
Error thrown when the auth token is omitted, but required
Default HTTP cache implementation, relying on apache in-memory LRUMap (recommended)
Builds URL specific to an application, based on a generic prismic.
Experiment exposed by prismic API
prismic experiment ID
Google experiment ID, empty if experiment is a draft
user set name
list of variations for this experiment
All experiments exposed by prismic API
experiments in draft stage, i.e. not running, for preview purpose
experiments in running stage, that will be presented to users
Error thrown when the auth token is provided, but invalid
A Prismic predicate.
Represent a prismic.
Paginated response to a Prismic.
A SearchForm represent a Form returned by the prismic.
val form = api.forms('everything') .page(3) // specify the field 'page' .pageSize(20) // specify the 'page_size' field val results = form.submit() // submit the search form
Error that should never happen
Experiment variation exposed by prismic API
technical prismic ID
queryable ref of the variation (similar to release ref)
user set label
Instanciate an Api instance from a prismic.
Do NOT cache prismic.