0
votes

I have a custom page type (kff.SeasonCTA), that I'm trying to access. The goal is the present the data from the custom pages on a static HTML page using jQuery. I've confirmed the REST service is working as i can get the county json object as per the documentation.

I've set authentication to Basic, and the service enabled as Both. I generated a hash with this URL: http://dev.knowledgefirstfinancial.ca/rest/kff.SeasonalCTA?format=json

I get a 403. I read more, and i think it's because i'm doing an ALL. So how can i specify only published pages.

Or is it possible to get all the child data from a cms.folder if i specify the folder by it's GUID?

1

1 Answers

0
votes

I'd recommend using basic authentication: create user account and make sure it has all necessary permissions (use impersonation to verify access) and pass that user in authorization header.

It is possible to request all the child by node alias path:

/content/currentsite/<culture>/childrenof/<alias path> 
/content/currentsite/en-us/childrenof/news