Copied to clipboard

Flag this post as spam?

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


  • Dustin 10 posts 78 karma points
    May 29, 2018 @ 22:37
    Dustin
    0

    Upbraco REST API: get a fully published page??

    Hello Umbraco!

    I have been trying to consume a fully published page through the REST API.

    When I call this content endpoint, asking for children as well:

    var urlString = $"rest/v1/{resource}/{nodeId}/children?pageIndex=0&pageSize=100

    var httpResponseMessage = await _httpClient.GetAsync(urlString);

    I must still recurse many more calls to the endpoint...through all the children's children children etc in order to get the complete JSON for an entire page.

    Is there a way to use the REST API to get a full page out in JSON form, in a single call??

    The API seems so very limited (version 7.4.3), any advice would be greatly appreciate.

    Thanks! Dustin

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies