I haven’t used PHP in SOOO long that I have absolutely no what this wizzardry of \WP_Rest_Cache....
is, but it worked ??
Thanks a lot!
Edit: For those wondering, it is essential to add the entire path of the endpoint. Even if the list in settings shows /your-api/v1/get-something
you would need to provide /wp-json/your-api/v1/get-something
as the parameter for the flushing function. The leading slash of /wp-json
seems to be essential.
Maybe the plugin can be more forgiving with that parameter and check if wp-json/your-api...
or /your-api...
or your-api...
can be found as well?