November Happy Hour will be moved to Thursday December 5th.
AI OnAI Off
November Happy Hour will be moved to Thursday December 5th.
Hi,
If you're trying to retrieve multiple items, I think you need to use a named parameter rather than passing the IDs as a URL segment. It should work if you change the URL you're calling to be:
https://mysite.com/api/episerver/v3.0/content/?References=7,10,15
I was under the impression that you could query the api to get multiple blocks in one call like so
https://mysite.com/api/episerver/v3.0/content/7,10,15
as documented here: https://docs.developers.optimizely.com/content-cloud/v1.5.0-content-delivery-api/reference/content_querycontent
however I am finding I simply get a 404 when I do that, whereas making the call individually (https://mysite.com/api/episerver/v3.0/content/7) works fine
is there a setting I am missing somewhere?
this is the ContentApiOptions in my Startup.cs