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.
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.
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
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
is working on a reply...