1. For Content Delivery API you will need Episerver 11.4 if I recall correctly.
2. The easiest way to solve it is to use Episerver content events and listen on the published events. When a page has been published you can write code to send the mail, call a REST API or similar.
Check out here for some example code for listening on events
3. Another option is to build a separate scheduled job, search the site for newly published pages either by using Episerver Find or FindPagesWithCriteria
This has an advantage since you can avoid spamming mails and only send one per day or similar.
4. Build a custom REST api that uses the same functionality as 3.
Depends a bit if you want to push or pull information which option is the best. 2. is probably fastest to build.
Hi @Daniel Ovaska.
Thank you for your feedback, we'll try then use a workaround, using a mix of Episerver content event and our own REST Api Service, this was one of our first approach, because for is not going to be possible update to a new Episerver version (as you can imaging this could have a high risk for us).
Hi good morning everyone.
One of our customer is looking out inform one of its partners when a new content (Content based on a PageType type) have been Published in the Episerver Web Site through the Epi's CMS; the main idea would be create a REST API.
Could we use the Episerver Content API for this? --> https://world.episerver.com/documentation/developer-guides/content-delivery-api/
What do you think about use that?, is there other solution?.
We are using Episerver 10 (v10.10.4).