Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

What is the structure of meta JSON for createPage ? #4363

Open
vrijmetse opened this issue Nov 5, 2024 · 0 comments
Open

What is the structure of meta JSON for createPage ? #4363

vrijmetse opened this issue Nov 5, 2024 · 0 comments

Comments

@vrijmetse
Copy link

Sorry if I use wrong place to ask this question but I cant seem to find documentation for this. I am trying to automate page creation hence I need to know where to put the title / slugs / content etc.

So far this is what I have


mutation{
  pageBuilder{
    createPage(
      category:"static",
      meta: [
    ]
    ){
      data{
        id
        content
      }
    }
  }
}

Now I need to do the following:

  1. define the content of the page . e.g number of blocks / grids / cell within.
  2. define the title and slug. Is this even possible during page creation? or I need to create and then update?
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant