wikijs-fork/client/graph/editor/create.gql

16 lines
639 B
Plaintext
Raw Normal View History

mutation ($content: String!, $description: String!, $editor: String!, $isPrivate: Boolean!, $isPublished: Boolean!, $locale: String!, $path: String!, $publishEndDate: Date, $publishStartDate: Date, $tags: [String]!, $title: String!) {
2018-07-22 04:29:39 +00:00
pages {
create(content: $content, description: $description, editor: $editor, isPrivate: $isPrivate, isPublished: $isPublished, locale: $locale, path: $path, publishEndDate: $publishEndDate, publishStartDate: $publishStartDate, tags: $tags, title: $title) {
2018-07-22 04:29:39 +00:00
responseResult {
succeeded
errorCode
slug
message
}
page {
id
}
}
}
}