Copied to clipboard

Flag this post as spam?

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


  • GoranK 2 posts 72 karma points
    Oct 26, 2023 @ 20:58
    GoranK
    0

    Umbraco Delivery API get saved nodes

    Hi Delivery API (Umbraco version 12) is great tool and gives many opportunities My question is how to get saved nodes (created nodes but not yet published). Namely, using Delivery API filters I can get json data only for published nodes. In my procedures I would like to create new node but only to save (not save and publish) and after that using delivery API to get json data with properties for this node.

    Best regards Goran

  • GoranK 2 posts 72 karma points
    Nov 01, 2023 @ 19:35
    GoranK
    0

    Hi, this is my fault. I found in Umbraco documentation about headers (Preview and Api-Key) so it works. Now I can not create request url to get only content nodes that are unpublished. In python I use url https://localhost:44303/umbraco/delivery/api/v1/content and headers = {'preview':'true', 'Api-Key':'xxxxxx'}

    but i get all nodes (published and not published) in json output.

    Can somebody help me to find right url to get all unpublished nodes or to separate unpublished nodes from json ouput from url https://localhost:44303/umbraco/delivery/api/v1/content....

    Regards, Goran

Please Sign in or register to post replies

Write your reply to:

Draft