User tests: Successful: Unsuccessful:
Pull Request for Issue # .
add filter state to banners endpoint
GET {{base_path}}/api/index.php/v1/banners?filter[state]=1
GET {{base_path}}/api/index.php/v1/banners?filter[state]=0
N/A
you can filter banners from state = published or unpublished
Please select:
Documentation link for docs.joomla.org:
No documentation changes for docs.joomla.org needed
Pull Request link for manual.joomla.org:
No documentation changes for manual.joomla.org needed
| Status | New | ⇒ | Pending |
| Labels |
Added:
Webservices
PR-6.1-dev
|
||
| Category | ⇒ | JavaScript Unit Tests |
I have tested this item ✅ successfully on 52d031d
POST:
1 result with
https://joomla.sviluppo.online/api/index.php/v1/banners?filter%5Bstate%5D=0&page%5Blimit%5D=20&page%5Boffset%5D=00 result with
https://joomla.sviluppo.online/api/index.php/v1/banners?filter%5Bstate%5D=1&page%5Blimit%5D=20&page%5Boffset%5D=0This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/46656.