Mutation
mutation UpdateGalleryGroups($input: UpdateGalleryGroupsInput!) {
updateGalleryGroups(input: $input) {
clientMutationId
errors
galleryGroups {
canDelete
galleryPage
galleryType
id
isEnabled
label
}
}
}Variables
{
"input": {
"galleryGroups": [
{
"galleryType": "BUNDLES",
"isEnabled": true
}
]
}
}Response
{
"data": {
"updateGalleryGroups": {
"clientMutationId": "string",
"errors": [
"string"
],
"galleryGroups": [
{
"canDelete": true,
"galleryPage": "DISCOVERY",
"galleryType": "BUNDLES",
"id": "id",
"isEnabled": true,
"label": "string"
}
]
}
}
}Mutations
updateGalleryGroups
Declaratively replace a container’s Discovery gallery sections. The
galleryGroups array defines the sections and their order (array order
becomes position). Custom sections omitted from the array are deleted; new
custom Top Spaces / Spaces Near You sections require a spacesCollectionId.
Between 0 and 8 sections may be enabled. Requires the custom_gallery_groups
billing feature. Returns the full refreshed list so newly-created sections’ IDs are known.
Required scope: host:write:network_settings
MUTATION
updateGalleryGroups(input: UpdateGalleryGroupsInput!): UpdateGalleryGroupsPayloadArguments
input
required
Parameters for UpdateGalleryGroups
Returns
clientMutationId
String
A unique identifier for the client performing the mutation.
errors
[String!]!
galleryGroups
[GalleryGroup!]
Mutation
mutation UpdateGalleryGroups($input: UpdateGalleryGroupsInput!) {
updateGalleryGroups(input: $input) {
clientMutationId
errors
galleryGroups {
canDelete
galleryPage
galleryType
id
isEnabled
label
}
}
}Variables
{
"input": {
"galleryGroups": [
{
"galleryType": "BUNDLES",
"isEnabled": true
}
]
}
}Response
{
"data": {
"updateGalleryGroups": {
"clientMutationId": "string",
"errors": [
"string"
],
"galleryGroups": [
{
"canDelete": true,
"galleryPage": "DISCOVERY",
"galleryType": "BUNDLES",
"id": "id",
"isEnabled": true,
"label": "string"
}
]
}
}
}