Developer forum

Forum » Dynamicweb 10 » dwapi/content/pages?PageId=149 returns "The query returned no pages"

dwapi/content/pages?PageId=149 returns "The query returned no pages"

Joakim
Reply

So i'm running swift 1.25 on dw 10.0.26 and as title says dwapi/content/pages?PageId=149 returns "The query returned no pages",

but the same request properly returns pages on a swift 1.25 on dw 9.15.11.

 

Is the issue related to dw10 or am I missing something?

 

Thanks,

 


Replies

 
Nicolai Pedersen Dynamicweb Employee
Nicolai Pedersen
Reply

Hi Joakim

It should be 

/dwapi/content/pages/149

I.e. https://dw10swift.public9.dynamicweb.dk/dwapi/content/pages/149

BR Nicolai

 
Joakim Sjöbäck
Reply

Sorry maybe i shouldve clarified, i wish to get all subpages based on parent page id, i.e:

 
Nicolai Pedersen Dynamicweb Employee
Nicolai Pedersen
Reply
This post has been marked as an answer

Hi Joakim

I see now that I was refering to the other endpoint:

I also see that the endpoint you are using might not return what is expected due to faulting checks.

I have created bug #17196 to fix the issue.

Votes for this answer: 1

 

You must be logged in to post in the forum