SDL Tridion Sites GraphQL Page query

 Graphql url: http://localhost:8081/cd/api (domain can be changed)


{
  page(namespaceId:1,publicationId:8,pageId:689){
           rawContent{
        data
        content
      }
  }
}

namespaceId (1 is for Tridion Sites and 2 is for Tridion docs)


it will give json data under data keyword and content will be string.

Comments