Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Dieter 5 posts 85 karma points
    Dec 04, 2018 @ 08:40
    Dieter
    0

    Add headless functionality to existing umbraco CMS

    Hello

    I am looking to extend my current Umbraco CMS with headless functionality, in order to fetch some of its content through an API.

    In this link i read that umbraco headless works on "only the projects that have been created through the beta signup below".

    So then I figured for my existing CMS I'll need to install UmbracoRestApi. But on its github page it says it's discontinued in favor of Umbraco Headless.

    So I'm a little at loss here how to do this.

    Thanks for your time!

  • Nik 1617 posts 7263 karma points MVP 7x c-trib
    Dec 04, 2018 @ 09:39
    Nik
    101

    Hi Dieter,

    Have a look into Umbraco HeadRest (https://github.com/mattbrailsford/umbraco-headrest). It's a beta package that was created a couple of months ago and allows you to quickly knock up an API into your existing Umbraco install.

    You could also consider writing your own API endpoints inheriting your controllers from the UmbracoAPIController base class to keep all the Umbraco goodness :-)

    But based on your research, Umbraco Headless (the product) is a new product that is in Beta from the HQ. It's only available via their cloud service so you can't self host it, and you can't incorporate it into an existing website. It is its own stand alone product.

    Yes the UmbracoRestApi package that did exist has been discontinued, but nothing stops you from forking the repository and maintaining your own branch (this would allow you to customise it to your own personal needs).

    Nik

  • Dave Woestenborghs 3504 posts 12135 karma points MVP 9x admin c-trib
    Dec 04, 2018 @ 12:13
    Dave Woestenborghs
    1

    Hi Dieter,

    There is also this graphQL initiative being worked on by several community members : https://github.com/rasmusjp/umbraco-graphql

    Although there readme mentions not to use it in production.

    Further there is also to this REST API package from Umbraco : https://github.com/umbraco/UmbracoRestApi

    But it is discontinued, probably because they are working on Umbraco Headless. But you could fork the code and use it.

    Dave

  • Dieter 5 posts 85 karma points
    Dec 05, 2018 @ 07:42
    Dieter
    0

    Thanks for your insights!

Please Sign in or register to post replies

Write your reply to:

Draft