Skip to the content
Documentation

apiapi

Extending the REST API   The Exponential 5 REST API comes with a framework that makes it quite easy to extend the API for your own needs. While most of what can be found here w... Extending the REST API   The Exponential 5 REST API comes with a framework that makes it quite easy to extend the API for your own needs. While most of what can be found here w... Retrieving root location (page id 31429800) Knowledge of the root location is important since it can be a starting point for API queries, or even links to home page, but as eZ Platform can be used for multisite development, the root location can vary. Extending the REST API (page id 13468575)   The Exponential 5 REST API comes with a framework that makes it quite easy to extend the API for your own needs. While most of what can be found here w... Extending the REST API (page id 30711255)   The Exponential 5 REST API comes with a framework that makes it quite easy to extend the API for your own needs. While most of what can be found here w... Extending the REST API   The Exponential 5 REST API comes with a framework that makes it quite easy to extend the API for your own needs. While most of what can be found here w... Extending the REST API   The Exponential 5 REST API comes with a framework that makes it quite easy to extend the API for your own needs. While most of what can be found here w... Converting request parameters into API objects In lots of cases, a request will provide a contentId or a locationId. Before using them, you will have to load API object within your controller. Making cross-origin HTTP requests Exponential ships with NelmioCorsBundle, a Symfony open-source bundle that provides support for CORS (Cross Origin Resource Sharing). The REST API is pre-configured to respond to such requests, as long as you customize the allowed origins as explained below. Paginating API search results When listing content (e.g. blog posts), pagination is a very common use case and is usually painful to implement by hand.