Recover all data from your site with wp rest api ?

Hello to all the community ! I congratulate the Frontity team for this wonderful framework which allows us to easily create theme wp with ReactJS.
New to Frontity, I was able to deploy my first default theme (mars-theme) thanks to the Frontity tutorial.

But with WP REST API I only get blog articles from my site (www.mont-bouet.com)!
On my site I made so many customizations and I would like to know is it possible to recover all the data from my wp site ?
If yes how to configure the rest API ? What settings, or what configuration should I bring to my function file so that my API rest retrieves all the data from my site (all pages and customizations of my theme).

Hoping that this is possible and looking forward to hearing from you, thank you.

1 Like

It is always possible to extend the rest API with custom endpoints.
I suggest you start reading the documentation

In particular how to add custom endpoints

Good luck ! :muscle:

2 Likes

Nice thank you very much

Apart from what @vscopise suggested, many people use custom post types, custom taxonomies and custom fields.

1 Like