You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Aug 27, 2019. It is now read-only.
Put together a very basic plugin last night that allows deep filtering of returned data via query vars. Uses syntax close to the Facebook Graph API for accessing inner fields, e.g. {api_endpoint}/posts?fields=id,acf{related_posts.limit(2){id}}
Yet to publish on WP.org but it's currently working and is handy in combination with other API plugins like ACF To WP API. Keen to get some thoughts on the usefulness of the syntax before putting more effort in.
The text was updated successfully, but these errors were encountered:
Put together a very basic plugin last night that allows deep filtering of returned data via query vars. Uses syntax close to the Facebook Graph API for accessing inner fields, e.g.
{api_endpoint}/posts?fields=id,acf{related_posts.limit(2){id}}
Github repo is here: https://github.com/theprojectsomething/REST-API-Filter-More-Fields
Yet to publish on WP.org but it's currently working and is handy in combination with other API plugins like ACF To WP API. Keen to get some thoughts on the usefulness of the syntax before putting more effort in.
The text was updated successfully, but these errors were encountered: