Exclude posts w/ specific post_meta on Rest API endpoint
So WordPress offers the default Rest API endpoint, which is: https://example.com/wp-json/wp/v2/posts
which pulls in all the posts.
Is there a way to configure and modify the existing /wp/v2/posts
endpoint to exclude posts that have a post_meta of global_post
?