Description
At the moment you can only receive posts and users. More API classes should be added to get the default rest route data:
- pages
- media
- menu-items
- blocks
- templates
- template-parts
- navigation
- types
- statuses
- taxonomies
- categories
- tags
- menus
- comments
- search
- block-renderer
- block-types
- widgets
- sidebars
- plugins
- themes
- settings
- global-types
Suggested Solution
Add more classes to API
Alternatives
Alternative would be to just use the Post class and set the endpoint, but then the types won't match.
Additional Context
No response