Mutation
mutation UpdateGalleryGroup($input: UpdateGalleryGroupInput!) {
updateGalleryGroup(input: $input) {
clientMutationId
errors
galleryGroup {
canDelete
galleryPage
galleryType
id
isEnabled
label
}
}
}Variables
{
"input": {
"galleryGroupId": "id",
"isEnabled": true
}
}Response
{
"data": {
"updateGalleryGroup": {
"clientMutationId": "string",
"errors": [
"string"
],
"galleryGroup": {
"canDelete": true,
"galleryPage": "DISCOVERY",
"galleryType": "BUNDLES",
"id": "id",
"isEnabled": true,
"label": "string"
}
}
}
}Mutations
updateGalleryGroup
Enable or disable a single Discovery gallery section. isEnabled is the only
attribute updatable on one section; ordering is done with reorderGalleryGroup
and adding/removing sections with updateGalleryGroups. The section must be
persisted (customize the container via updateGalleryGroups first).
Required scope: host:write:network_settings
MUTATION
updateGalleryGroup(input: UpdateGalleryGroupInput!): UpdateGalleryGroupPayloadArguments
input
required
Parameters for UpdateGalleryGroup
Returns
clientMutationId
String
A unique identifier for the client performing the mutation.
errors
[String!]!
galleryGroup
Mutation
mutation UpdateGalleryGroup($input: UpdateGalleryGroupInput!) {
updateGalleryGroup(input: $input) {
clientMutationId
errors
galleryGroup {
canDelete
galleryPage
galleryType
id
isEnabled
label
}
}
}Variables
{
"input": {
"galleryGroupId": "id",
"isEnabled": true
}
}Response
{
"data": {
"updateGalleryGroup": {
"clientMutationId": "string",
"errors": [
"string"
],
"galleryGroup": {
"canDelete": true,
"galleryPage": "DISCOVERY",
"galleryType": "BUNDLES",
"id": "id",
"isEnabled": true,
"label": "string"
}
}
}
}