Copied to clipboard

Flag this post as spam?

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

  • Connie DeCinko 95 posts 247 karma points
    Sep 24, 2019 @ 15:08
    Connie DeCinko

    Umbraco REST API, alternatives to Umbraco Headless

    We are looking to put a Vue.js front end on an Umbraco 8 site. Since Umbraco REST API is not supported with Umbraco 8 and Headless is still in beta and reported to only be supported in Umbraco Cloud, what other options are there? Has anyone created an API interface for an on-prem Umbraco 8? What if we returned JSON instead of HTML for each of our "pages"? Can we pass in an auth token to restrict access?

  • Magnus Eriksson 122 posts 362 karma points
    Sep 24, 2019 @ 15:35
    Magnus Eriksson

    Maybe this project could be of interest?

    Regards, Magnus

  • Connie DeCinko 95 posts 247 karma points
    Sep 24, 2019 @ 16:02
    Connie DeCinko

    Magnus, that looks interesting, especially since it supports the latest Umbraco. I guess I need to read up on UmbracoApiController as I'm not sure how I would pass an auth token? Any sample projects I can download?

  • Muhammad Humayun 49 posts 79 karma points
    Jun 18, 2020 @ 21:23
    Muhammad Humayun

    @Connie Did you find any solution to your problem?

  • Simon Ulmbrant 34 posts 154 karma points
    Jun 20, 2020 @ 09:14
    Simon Ulmbrant

    Have done something like this myself. Not a complete site but parts of it with vue.js as the frontend. It's actually possible to render the models passed back from Umbraco as json objects if you get rid of the circle references with your own json contract resolver. I have even made it possible to pass Umbraco dictionary items to the vue.js app.

    Take a look at this example, it's a pretty good example of how to render nested content as json data and you can do the same thing with all umbraco data I guess.

    If you do it in this way you don't even need the Api for getting the Umbraco data to your vue.js app as you getting it directly from your serialized models.

  • Ismail Mayat 4511 posts 10065 karma points MVP 2x admin c-trib
    Jun 22, 2020 @ 15:13
    Ismail Mayat

    I been using umbraco graphiql although on v7 there is v8 version as well see cool thing is the flexbility.

    There are some caveats ie its get data only you cannot write back to umbraco and there is no security so all content is available. For my project it works a treat we have gatsby app that talks to graphiql.



Please Sign in or register to post replies

Write your reply to: