I'm totally new at GraphQL and I don't understand how to compose a PageMutation
create
call for Wiki.js. Their GraphQL playground is available on the public docs. The schema for creation is:
type PageMutation {
create(
content: String!
description: String!
editor: String!
isPublished: Boolean!
isPrivate: Boolean!
locale: String!
path: String!
publishEndDate: Date
publishStartDate: Date
scriptCss: String
scriptJs: String
tags: [String]!
title: String!
): PageResponse
In the GraphQL docs pages they say mutation parameters should be declared as input ones, but this one isn't. Also, I've seen no description for this kind of structure (object in object?), and I don't see how to use it.
Hints welcome. Thanks