ezprestapiprovider: the REST provider classes (deprecated)
This page is for developers and site administrators whose installation still activates ezprestapiprovider.
Warning
Deprecated. REST API v1 and v2 are served by one extension, ezprestapi (1.2.6 or later).
ezprestapiprovider 6.0.4 (15 October 2026) is its final release. Activate ezprestapi and remove
ezprestapiprovider from ActiveExtensions; the steps are in
REST API v1 and v2: one extension.
What it is now
A compatibility shim on top of ezprestapi, so that old settings and old code keep working while an installation
moves:
ezpRestApiProviderextendsezp7xRestApiProvider, andezpRestContentControllerextendsezp7xRestContentController, so they get the v1 and v2 routes and the permission checks ofezprestapi.- Its
rest.inimaps the prefixesezpandezpltoezp7xRestApiProvider, the same valuesezprestapisets, so the order in which the two are activated no longer matters. - It no longer ships the five classes it duplicated (
ezpRestAtomController,ezpRestAtomView,ezpRestAtomDecorator,ezpRestContentModel,ezpRestApiViewController);ezprestapiships them, and the autoload generator no longer warns about duplicate class names. - Its Composer package requires
se7enxweb/ezprestapi ~1.2.6.
Before 6.0.4 it registered its own provider, and when its ProviderClass[ezp] won (it was listed earlier in
ActiveExtensions, or active alone, as the setup wizard used to activate it), every /api/ezp/v2/... route answered
404 and the v1 reads ran without the permission checks. The
activation table compares before
and since.
Migration in short
- Keep or add
ActiveExtensions[]=ezprestapiinsettings/override/site.ini.append.phpand removeActiveExtensions[]=ezprestapiprovider. - Clear the INI cache (
php bin/php/ezcache.php --clear-tag=ini), regenerate the extension autoloads (php bin/php/ezpgenerateautoloads.php -e), reload PHP-FPM and restart Velocity. - Change a
rest.inioverrideProviderClass[ezp]=ezpRestApiProvidertoezp7xRestApiProvider, and code that extendsezpRestContentControllerto extendezp7xRestContentController. Both keep working through the shim while it is installed.
Nothing changes for OAuth clients, tokens, personal API keys or the v1 URLs.
What changed
| Version | Date | Change |
|---|---|---|
| 6.0.0 | 29 January 2024 | Package vendor and name switched to se7enxweb; description updated. |
| 6.0.1, 6.0.2 | 27 and 30 September 2026 | Version, license and website; the description names Exponential. |
| 6.0.3 | 2 October 2026 | Copyright notices name 1998 - 2026 7x & Exponential Foundation first. |
| 6.0.4 | 15 October 2026 | Deprecated, final release: the provider and content controller extend those of ezprestapi; rest.ini maps ezp and ezpl to ezp7xRestApiProvider; the five duplicated classes and the model tests removed (they live in ezprestapi); requires se7enxweb/ezprestapi ~1.2.6. |
Related pages
- REST API v1 and v2: one extension
- ezprestapi
- Chronicle and release notes
- Change ledger
- Behaviour changes of the extensions
- Months: 2023-12, 2024-01, 2026-03, 2026-09, 2026-10
Become an Exponential Partner
Partners share their information, provide funding, contribute back and develop the products with us, and that is how Exponential grows. A partner website and dashboard are planned for mid-2027: please become a partner today to speed up our growth rate and land new features faster.