Content Creation and Update + Headless API

Vote:
 

Does Headless API support content management or only delievery. Could someone point me to a resource where I can get more information on this ?

#248224
Feb 05, 2021 18:31
Vote:
 

Dileep - Yes - I think the following two blogs are very helpful in understanding the thought process and implementation of headless content API 

http://fellow.aagaardrasmussen.dk/2020/04/06/introduction-to-episerver-delivery-core-what-it-is-and-isnt/

https://www.jondjones.com/learn-episerver-cms/headless-episerver/episerver-content-delivery-api-introduction/ 

and of course documentation 

https://world.episerver.com/documentation/developer-guides/content-delivery-api/ 

I hope that helps

#248256
Edited, Feb 06, 2021 14:37
Vote:
 

Thanks for the info but I have been through it and unless I have missed something I didn't see topic where I could update and publish page content via the API. My site is not a SPA and am not looking for on page editing but rather publish content through API.

Please let me know if you find any article which address this topic. I see service api's but seems like they are for commerce and not for CMS though

#248456
Feb 10, 2021 18:10
Vote:
 

Content Delivery API is primarily delivery only. I say "primarily" because some Commerce-based APIs have been added to allow you to POST/PUT cart and order data.

See here: https://world.episerver.com/documentation/class-libraries/rest-apis/content-delivery-api/

For content management, you'll need to do that within Episerver, either using the standard MVC approach, or the more JS framework-friendly way. There's some repositories on GitHub (https://github.com/episerver) that shows off how to use the JS frameworks:

#248458
Feb 10, 2021 18:51
Vote:
 

My Site is MVC based and I also have the Content delivery API installed in it. Guess there is no content management api option out of box as with content delivery. Thanks for the updates.

Wondering if anyone can point out to something where Content management is being done with API in MVC project.

#248459
Feb 10, 2021 19:22
Vote:
 

You likely won't find any robust, OOTB solution for Episerver content management via an API. On-page editing within Episerver's editing UI experience is a key value-add.

If you really need to do API-based content management, you'll need to roll your own API and work with the built-in IContentRepository service.

#248460
Feb 10, 2021 19:31
Vote:
 

I would echo Chris's comment. If you want to create pages via API, you need to write your own API. 

#248461
Feb 10, 2021 19:52
Vote:
 

Hi Dileep and others, as luck would have it we have a contentn management REST API coming up very shortly. We're refining documentation, and polishing a few details, so should be out within a few weeks.

#248528
Feb 12, 2021 7:44
Dileep D - Mar 01, 2021 18:28
This is a great news. Thanks for the update
Dileep D - Apr 29, 2021 3:08
Thank for the update.
This topic was created over six months ago and has been resolved. If you have a similar question, please create a new topic and refer to this one.
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.