wikijs-fork/client/graph/admin/site/site-mutation-save-config.gql

53 lines
1.4 KiB
Plaintext
Raw Normal View History

2018-12-24 06:03:10 +00:00
mutation (
$host: String!
$title: String!
$description: String!
$robots: [String]!
$analyticsService: String!
$analyticsId: String!
2018-12-24 06:03:10 +00:00
$company: String!
$hasLogo: Boolean!
$logoIsSquare: Boolean!
$featurePageRatings: Boolean!
$featurePageComments: Boolean!
$featurePersonalWikis: Boolean!
$securityIframe: Boolean!
$securityReferrerPolicy: Boolean!
$securityTrustProxy: Boolean!
$securityHSTS: Boolean!
$securityHSTSDuration: Int!
$securityCSP: Boolean!
$securityCSPDirectives: String!
2018-12-24 06:03:10 +00:00
) {
site {
updateConfig(
host: $host,
title: $title,
description: $description,
robots: $robots,
analyticsService: $analyticsService,
analyticsId: $analyticsId,
2018-12-24 06:03:10 +00:00
company: $company,
hasLogo: $hasLogo,
logoIsSquare: $logoIsSquare,
featurePageRatings: $featurePageRatings,
featurePageComments: $featurePageComments,
featurePersonalWikis: $featurePersonalWikis,
securityIframe: $securityIframe,
securityReferrerPolicy: $securityReferrerPolicy,
securityTrustProxy: $securityTrustProxy,
securityHSTS: $securityHSTS,
securityHSTSDuration: $securityHSTSDuration,
securityCSP: $securityCSP,
securityCSPDirectives: $securityCSPDirectives
2018-12-24 06:03:10 +00:00
) {
responseResult {
succeeded
errorCode
slug
message
}
}
}
}