Hello, if it possible to edit a View via API? And where is the data for Template, CSS, Javascript stored?
I thought I might be able to do this using WordPress API as I thought it might just be a custom post. But I tried using the API to GET using post type 'mb-views' but nothing gets returned.
So making a request like: /wp-json/wp/v2/mb-views or /wp-json/wp/v2/mb-views/POST-ID
I can see in the URL when I go to views this: post_type=mb-views but this doesn't seem to be a registered post type.
My use case is I want to be able to programmatically get / update the Template, CSS, Javascript for a MB view. If I go to my wp_posts table I can find post for the View there - although I can only see the content for the Template under post_content