I believe what you want to use is _fields= not _filter=
https://example.com/wp-json/wp/v2/posts?_embed&_fields=_links
I don’t believe you can make fields only show _embedded thought. Best I was able to do was to make it show _links which then also shows _embedded.
Hope this helps.
Related Posts:
- Amending REST API function without deactivate/activate plugin every time changes is made
- Adding custom end points, No error line
- Allow REST API Endpoint to specific user and hide from public
- Custom Endpoint – Does it possible to use PUT method with WP API Rest?
- Adding Amchart Interface to WordPress API
- Multisite and the JSON REST API: How to?
- How to update WordPress Plugins in your own maintance application?
- External api call using wordpress
- Difference Between Filter and Action Hooks?
- How can you check if you are in a particular page in the WP Admin section? For example how can I check if I am in the Users > Your Profile page?
- How to create an API for my plugin?
- Is there a limit on making calls to WordPress.org API’s?
- Using filters and actions for plugin API?
- WordPress and multithreading
- How to check WordPress website username and password is correct
- permalinks with get variables
- How to: Rest endpoint returning empty object
- Custom endpoint that returns an xml
- How to override a function call in functions.php?
- wp_enqueue_style built in styles
- WP rest api v2 posts filter by ‘search’ & ‘category_name’ not working
- REST-API: extend media-endpoint
- Should I ask my Twitter plugin users to create their own Twitter App and API Keys to use my plugin?
- What method to use to call a REST API?
- Does WordPress’s HTTP API use any caching?
- WP REST API V2 – Add user data to response
- How can I pass get_the_author_meta(‘user_email’) through the REST API?
- How to get results of subcategories also?(WP Rest Api v2)
- Example Dashboard Widget, Cancel not working
- Create a new post using rest api and save featured image using an external image url
- Why does wp_remote_post returns an empty body response on certain endpoints?
- How to modify WCMP Rest API response?
- Sending post request with wp_remote_post not working correctly
- wp_remote_get() returns 403 while file_get_contents() does not
- Serve text/html from wp-json API via WPEngine, headers not being set properly
- Secure REST with nonce works only when not logged
- woocommerce_checkout_order_processed hook executing function twice
- How to do POST request with WP REST API v2 to custom table?
- What to hook into to check a value before a post is published?
- rest_no_route on custom API endpoint wordpress
- Custom Rest Endpoint: Post/Put/Patch not working
- Encoding Method for URLs?
- Building a REST API for your web app exposes primary keys of DB records?
- Can’t retrieve body params from PUT endpoint using formdata
- Google credentials and redirect URI for Google OAuth2 in a WordPress plugin, questions
- Do I need to create an endpoint?
- How to use apiFetch to get author information in Gutenberg properly?
- Mock a dependency of a WP_REST_Controller class
- update_callback is not working in register_rest_field
- Plugin index page code executes multiple times
- Pass CF7 form data to plugin
- Best way to ping for the API changes in the wordpress?
- Plugin architecture to pull from API & create dynamic content on WP site?
- Lead form that submits to 2 external APIs
- Widget internal hooks and functions
- How to do admin ajax request in a plugin for rest api
- Attaching Image-file to userId
- Get API auth_token token to renew weekly
- Query String Filtering API
- Custom plugin & calling REST api of wordpress instance the plugins is running on
- GET request return value as error instead of success
- Get Custom taxonomy parent with wordpress REST API
- register_meta not showing custom post type metabox data in rest api
- why is apiFetch throwing Unhandled Promise Rejection: TypeError: Object is not a function
- Securing custom rest API endpoints with public access from PWA
- call funcution when clicking submit
- WP_Query not ordering correctly
- 403 error rest_’cookie_invalid_nonce’ on API Request
- is it possible to fetch data from a remote api while admin is writing a new post?
- WC REST API Error Handling
- How do I make secure API calls from my WordPress plugin?
- Generate Static Page to Show Search Results/Detail for API
- Initializing rest endpoint issue
- Hiding WordPress REST endpoints from public viewing using Basic Authentication
- React in plugins: REST endpoints vs. regular functions
- How do WordPress plugins work with oAuth2 APIs?
- Query only title/field/featured media of posts [closed]
- API WordPress is Limited? Return False
- WP API users per page
- Tie specific functions to options-update for limiting API requests
- Do you see any problems (mainly security-related) with how I’ve used wp_ajax_* actions?
- Can a plugin differentiate syndication feeds from actual site views?
- Best place to keep files that are called by cron jobs?
- Developing a plugin, ran it through P3 Profiler, shows up slow, but I don’t know why
- Is it safe to use PUT and DELETE requests
- add_rewrite_rule not working
- Is it possible to make WordPress as a RESTful app?
- How do I query posts and have their related taxonomies returned in the results?
- modify buddpress adminbar only in admin pages
- oneOf two possible objects in WP REST API?
- How can I send api calls from my plugin?
- Extend Plugin that creates an endpoint for GET request to also accepts POST requests
- How can create a custom plugin to call my webapi after any registration or membership plugin functionality
- Rest Api WordPress
- Is it possible to create post in wordpress using postman?
- Run different permission_callback depending on HTTP method of custom REST API endpoint
- REST API error in block editor for custom templates
- How to get locale within WP REST Request?
- Execute callback after REST API request completes + Response is sent
- How to boost WP custom post REST API GET queries by custom taxonomies