Cannot access not published changes - Content Delivery API

Vote:
 

Hello everyone!

I'm trying to fetch new content after upgrading EPiServer packages.

I'm subscribing to 'beta/contentSaved' event and fetching content using contentLink property from the response

/api/episerver/v2.0/content/1701_3257?expand=*&epieditmode=True

but it failes with '404 Content not found' error.

Is there any way to fetch content before it's published in new version?

#211439
Jan 08, 2020 15:50
Vote:
 

Hi, 

I am not sure if I understand your concern correctly but do you want to achieve this?

https://world.episerver.com/documentation/developer-guides/content-delivery-api/customizing-content-delivery-api-for-edit-view/

#211445
Edited, Jan 08, 2020 19:13
Vote:
 

Yes, exactly. Don't know how I missed it. Thank's a lot.

#211446
Jan 08, 2020 19:45
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.