Skip to the content
Documentation

apiapi

How to paginate API search results Description When listing content (e.g. blog posts), pagination is a very common use case and is usually painful to implement by hand. For this purpose eZ P... How to paginate API search results (page id 30711518) Description When listing content (e.g. blog posts), pagination is a very common use case and is usually painful to implement by hand. For this purpose eZ P... How to retrieve root location (page id 30711517) Description 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... How to convert request parameters into API objects (page ... 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. Error handling (page id 30711251) Error handling in the REST API is fully based on HTTP error codes. As a web developer, you are probably familiar with the most common ones: 401 Unauthorized, 404 Not Found or 500 Internal Server Error. The REST API uses those, along with a few more, to allow proper error handling. Error handling Error handling in the REST API is fully based on HTTP error codes. As a web developer, you are probably familiar with the most common ones: 401 Unauthorized, 404 Not Found or 500 Internal Server Error. The REST API uses those, along with a few more, to allow proper error handling. How to convert 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. How to paginate API search results Description When listing content (e.g. blog posts), pagination is a very common use case and is usually painful to implement by hand. For this purpose eZ P... How to retrieve root location Description 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... Architecture (page id 11403666) 5.X