Querybuilder API with AEMaaCS | Community
Skip to main content
New Participant
May 4, 2023 6:25 PM UTC
Solved

Querybuilder API with AEMaaCS

Hello-

I'm using the Querybuilder API to retrieve my AEM sites pages filtering with the path query parameter. I'm wondering if the Querybuilder API is also available for the cloud version, AEMaaCS. I am aware of the headless ability but I'm not able to follow the documentation on a simple endpoint like Querybuilder to get this same data for AEMaaCS.

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Jagadeesh_Prakash
Jagadeesh_PrakashAccepted solution
New Participant
May 9, 2023 4:26 AM UTC

@adwilliams  it is a normal way of creating a local user with in environment. 

 

create local user from security--->users

 

And set permissions to that local user in permissions tab

 

you can try login from SIGN IN LOCALLY

 

5 replies

Jagadeesh_Prakash
Jagadeesh_PrakashAccepted solution
New Participant
May 9, 2023 4:26 AM UTC

@adwilliams  it is a normal way of creating a local user with in environment. 

 

create local user from security--->users

 

And set permissions to that local user in permissions tab

 

you can try login from SIGN IN LOCALLY

 

Translate
New Participant
May 8, 2023 5:42 PM UTC

Thank you! do you have instructions on how to make a local user for AEMaaCS?

Translate
Jagadeesh_Prakash
New Participant
May 8, 2023 4:49 PM UTC

@adwilliams Insted of generating JWT token. You can have a local user created in AEMaaCS environment and give him all necessary access and use that users for basic authentication. 

Translate
New Participant
May 8, 2023 3:25 PM UTC

Hi @jagadeesh_prakash ,

I'm asking specifically because the two documentation pages mentioned different authentication methods. 
For AEMaaCS it seems we need JWT today and will require OAuth in the future versus for Querybuilder for a Cloud SDK just uses basic authentication.

Translate
Jagadeesh_Prakash
New Participant
May 8, 2023 2:54 PM UTC

@adwilliams  May be i am unable to understand the question here but i am able to run the query builder in AEMaaCS. but it will return only the JSON structure you can change the query parameters and update the query. 

 

 http://<AEMCS-URL>/bin/querybuilder.json?type=cq:Page&path=/content&limits=-1 

 

Translate