Reputation: 11
I'm new to Kentico CMS. I have a requirement of programmatically accessing and reading Kentico CMS pages and then expose them in to a mobile app.The current Kentico CMS implementation has form-based authentication and 2FA configured with "Microsoft Authenticator App".
I'm planning to use REST service of the Kentico to get metadata of the pages and then programmatically access the required pages.
Can anyone give me some recommendation for this task?
Upvotes: 0
Views: 195
Reputation: 1869
The REST Service in Kentico uses basic authentication. You’ll want to create a use to access the REST service. You can read more here: https://docs.kentico.com/k10/integrating-3rd-party-systems/kentico-rest-service/authenticating-rest-requests
The methods in the REST service should allow you to manipulate your data to get what you need, though if it begins to be too much effort, it may be simpler to create your own hander/service. You can find out about how to query the data here: https://docs.kentico.com/k10/integrating-3rd-party-systems/kentico-rest-service/getting-data-using-rest#GettingdatausingREST-Dataloadingparameters
Upvotes: 2