Mutation
mutation CreateDefaultGalleryGroups($input: CreateDefaultGalleryGroupsInput!) {
createDefaultGalleryGroups(input: $input) {
clientMutationId
errors
galleryGroups {
canDelete
galleryPage
galleryType
id
isEnabled
label
}
}
}Variables
{
"input": {}
}Response
{
"data": {
"createDefaultGalleryGroups": {
"clientMutationId": "string",
"errors": [
"string"
],
"galleryGroups": [
{
"canDelete": true,
"galleryPage": "DISCOVERY",
"galleryType": "BUNDLES",
"id": "id",
"isEnabled": true,
"label": "string"
}
]
}
}
}Mutations
createDefaultGalleryGroups
Save a Discovery page’s default sections, which have no ID until saved, so each can be shown, hidden or reordered by ID. A page whose sections are already saved is left as it is, so the call is safe to repeat. Requires the custom_gallery_groups billing feature. Returns the page’s sections.
Required scope: host:write:network_settings
MUTATION
createDefaultGalleryGroups(input: CreateDefaultGalleryGroupsInput!): CreateDefaultGalleryGroupsPayloadArguments
input
required
Parameters for CreateDefaultGalleryGroups
clientMutationId
String
A unique identifier for the client performing the mutation.
errors
[String!]!
galleryGroups
[GalleryGroup!]
Mutation
mutation CreateDefaultGalleryGroups($input: CreateDefaultGalleryGroupsInput!) {
createDefaultGalleryGroups(input: $input) {
clientMutationId
errors
galleryGroups {
canDelete
galleryPage
galleryType
id
isEnabled
label
}
}
}Variables
{
"input": {}
}Response
{
"data": {
"createDefaultGalleryGroups": {
"clientMutationId": "string",
"errors": [
"string"
],
"galleryGroups": [
{
"canDelete": true,
"galleryPage": "DISCOVERY",
"galleryType": "BUNDLES",
"id": "id",
"isEnabled": true,
"label": "string"
}
]
}
}
}