I ran into the same problem but for posts. I found how to OR or AND tags together here:
https://codex.wordpress.org/Class_Reference/WP_Query#Tag_Parameters
To get entries that have both L1
AND L2
AND L3
; use plus (+)
https://example.com/cms/wp-json/pages?filter[tag]=L1+L2+L3
In case somebody else comes along and wants to OR terms together I’ll save you the trouble: To get entries that have either L1
OR L2
OR L3
; use comma (,)
https://example.com/cms/wp-json/pages?filter[tag]=L1,L2,L3
I have only used this with posts but it should work for pages too.
Related Posts:
- How do I cache (core) API requests?
- WP REST API only returning partial list of users
- How do I use the WP REST API plugin and the OAuth Server plugin to allow for registration and login?
- WP API : date_query parameter
- Get more than 10 posts in a specific category with the wordpress api
- Create post with REST API in php with file_get_contents
- node-wpapi: how to handle authentication?
- How to edit feature image with XML RPC?
- WP REST API and Access-Control-Allow-Origin
- Extending the API I created to return category names
- WordPress Rest API custom endpoint optional param
- Query WP REST API v2 by multiple meta keys
- Is there a way to get protected meta fields through any of the available built-in WordPress APIs? (xmlrpc, wp-json)
- Slow REST API calls on self-hosted WordPress [closed]
- how to authenticate for the REST API from a plugin and from command line
- WordPress API – Get Drafts
- How to stop WP API endpoint from caching?
- How to get the attached gallery in the rest API?
- Custom route for WP-API gives “rest_no_route” value
- “rest_no_route” – Debug error
- Developing Themes with React/Angular
- Authentication for a mobile app connected via wp-rest api?
- curl POST work with user meta but not the custom user meta
- Implementing the wp json-rest api
- WordPress REST API “rest_authentication_errors” doesn’t work external queries?
- Get all tags not just first 10 with wp api 2.0
- Post body not working with wp_remote_post()
- How can I cache WordPress Rest API Response
- WordPress REST API always misses parameters – rest_missing_callback_param
- How to add WP API and JS featured image attachment
- Adding rest api endpoints to an old theme
- Develop REST API using WordPress for Android app [closed]
- Why aren’t tags and categories added in post request to WP Rest API
- WP_REMOTE_POST Requests are being blocked by API provider [closed]
- Get non-rendered content from WP-API
- Woocommerce api: create product with images – bad request
- Adding custom end points, No error line
- Calling an API to do authentication / user login
- How do I query my WordPress posts on another HTML page using the WordPress Restful API?
- body_class REST field in WP-API
- Authenticating a user with the WP-API V2 in Postman
- Get a remote post ID via API given URL
- How to change the date and time in REST API for comments?
- Creating a WordPress Post via REST API – HTML or Markdown?
- Custom REST endpoint not working to retrieve single posts (“rest_no_route”)
- How to add an endpoint for my custom post type? /wp-json/wp/v2/posts is working but it didn’t in the custom post
- WordPress REST API – get custom taxonomy category posts
- How to display relations via wordpress Rest API
- Allow REST API Endpoint to specific user and hide from public
- Escape commas in REST API
- register/login api
- WordPress REST API in Integromat: How to overcome “Sorry, you are not allowed to list users / edit this…”
- How do i post data to url with fields?
- How to use following API with WordPress?
- Help to create the best plugin settings!
- Remove unwanted fields from WP API response
- rest_cannot_create_user
- WordPress API “code”:”rest_no_route” with Custom Route
- Adding Amchart Interface to WordPress API
- Deleting media using the WordPress Rest API
- Periodically Query an external API on wordpress site
- Rest WP_Error always return null
- Posting data from Ionic app to WordPress
- Expand author, tags and categories in the WordPress JSON API
- How to display parent category with first level child in REST API
- WordPress REST API Endpoint (Authors and Categories latest posts)
- Why does “if statement” has to “die()”, otherwise wont work?
- Best way to make a JSON API from WordPress?
- REST API And Error Codes – No Message
- How to login via wordpress api and get user details?
- How many users/load can the rest API handle?
- How to update WordPress Plugins in your own maintance application?
- XMLRPC: How to retrieve possible custom fields for a new post?
- External api call using wordpress
- Adding Microsoft Teams Incoming Webhook to WordPress, Problem with Rest Route?
- Woocommerce API for calling products by Category ID
- How to submit a button automatically after every scheduled hours?
- WP function/filter for modifying http headers?
- REST API: How can I restrict a custom post type to only be accessible by authenticated users?
- REST-API: extend media-endpoint
- Where to find WordPress API changes for each version released
- WordPress API returns empty page when page is less than X-WP-TotalPages
- How to filter users on custom meta fields in WP JSON v2?
- WP REST API V2 – Add user data to response
- How to create WordPress custom end point with multiple parameters?
- I can’t post comment via REST API
- Multisite WP-API json v2 : can i fetch all comments on all sites with a single query?
- wp_signon returns user but the user is not logged in because wp installed on subdomain. How to make it work?
- get_pages and get_posts returning different data?
- Cant create or update meta fields using WordPress REST API
- Get total count of records in WP GraphQL API
- WordPress output data to another website and pull data
- Intergrate JSON into wordpress
- Set logged in user based on API response
- Consume legacy rest api dependent upon WP API plugin
- Hiding WordPress REST endpoints from public viewing using Basic Authentication
- Trying to integrate wordpress query on other website – getting redirection to wp-install
- Zoho subscription API to WordPress [closed]
- Auto generating API keys using the Application Authentication Endpoint [closed]
- Uploading media to wordpress API with C# HttpClient