-
-
Notifications
You must be signed in to change notification settings - Fork 73
Open
Description
The wu/v2 API does not appear to support pagination or filtering via query parameters.
When using Bricks Builder (Query Loop type API) on the /wu/v2/site endpoint, standard parameters (page, per_page, number) are not taken into account — the response always returns all items regardless of pagination.
Additionally, the documentation lists endpoints in the plural form while the actual routes use the singular:
- Docs:
/wu/v2/sites,/wu/v2/customers,/wu/v2/memberships… - Actual:
/wu/v2/site,/wu/v2/customer,/wu/v2/membership…
Ref: https://ultimatemultisite.com/docs/ro/developer/rest-api/overview/
To Reproduce
- Call
GET /wp-json/wu/v2/site?page=1&per_page=5 - The response returns all sites with no limit applied
X-WP-TotalandX-WP-TotalPagesheaders are missing or incorrect
Expected behavior
- Support for
pageandper_page(ornumber) parameters to paginate results X-WP-TotalandX-WP-TotalPagesheaders present in the response- Documentation updated to reflect singular route names
Environment
- Plugin: Ultimate Multisite
- API namespace:
wu/v2 - Tested with: Bricks Builder Query Loop (API type)
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels