Is there any documentation available for the Breeze API Integration? CS has nothing available.
5. API Integration — You can enable API Integration using this option. This unlocks advanced functionality, allowing you to seamlessly interact with Breeze through the WordPress API. With the ability to enable the Breeze API endpoint, you can now easily purge cache via Rest API On Demand. This integration empowers your workflows, making tasks such as updating or adding new posts and products through the WordPress Rest API a smooth and efficient part of your site management experience.
The page I need help with: [log in to see the link]
Enable the Breeze API endpoint to purge the cache via REST API on-demand. This functionality can be integrated with your workflows, such as when updating or adding new posts or products through the WordPress REST API.
To clear the cache using the Breeze API, you can use the following commands:
Without Key Authentication https://your-domain-test.com/wp-json/breeze/v1/clear-all-cache
With Key Authentication https://your-domain-test.com/wp-json/breeze/v1/clear-all-cache?key=QPmdD1LjFZ5c(Replace with your own key)
Noticed that you are trying to make a request through the browser. However, please note that our API only recognizes POST requests, which cannot be executed directly from a browser address bar, as browsers typically send GET requests when accessing URLs.
To properly test or interact with our API, recommend using a tool like Postman (available both online and as a desktop application) or any other API testing platform that allows you to configure request methods, headers, and payloads.
If you could give an example cURL request, that would be great.
How do I send a request to clear specific post/page caches using the endpoint? I can write the code for the publish_post hook; I just need to know which endpoint or what query to add to the endpoint for a page/post whose slug is, for example, /hello-world/ or whose post ID is 2.