Home App Docs Blog Github

GraphQL API example does not work - prerender

The following example in your documentation does not work on the API explorer:

query {
  page(prerender: true, limit: 1, target: { urlPath: "/" }) { 
    data { html }
  }
}

It gives the following error:
{
“errors”: [
{
“message”: “Unknown argument “prerender” on field “RootQueryType.page”.”,
“details”: null
}
]
}

Hi @ljcremer - I’m having trouble reproducing, is this still happening to you?