Open ryami333 opened 4 years ago
As a somewhat-related aside, I couldn't find any mention of the "view" parameter described in the API documentation. It wasn't until I went digging around in the source and seeing the parameter attached to queries made from the CMS's Vue app that I noticed it exists. I really think this could be a useful piece of documentation for future users.
I want to be able to extend the "views" property of the Page model (using custom plugins), so that I can use them with the rest API. I would be able to make an API request like this:
By configuring a custom Page model "view" like this: