Mutation
mutation CreateGalleryGroup($input: CreateGalleryGroupInput!) {
createGalleryGroup(input: $input) {
clientMutationId
errors
galleryGroup {
canDelete
galleryPage
galleryType
id
isEnabled
label
}
}
}Variables
{
"input": {
"galleryType": "BUNDLES",
"spacesCollectionId": "id"
}
}Response
{
"data": {
"createGalleryGroup": {
"clientMutationId": "string",
"errors": [
"string"
],
"galleryGroup": {
"canDelete": true,
"galleryPage": "DISCOVERY",
"galleryType": "BUNDLES",
"id": "id",
"isEnabled": true,
"label": "string"
}
}
}
}Mutations
createGalleryGroup
Add a custom Top Spaces or Spaces Near You section for a Spaces Collection to the bottom of the Network’s Discovery page, hidden until shown with updateGalleryGroup. Saves the page’s default sections first if they are not saved yet. Requires the custom_gallery_groups billing feature.
Required scope: host:write:network_settings
MUTATION
createGalleryGroup(input: CreateGalleryGroupInput!): CreateGalleryGroupPayloadArguments
input
required
Parameters for CreateGalleryGroup
Returns
clientMutationId
String
A unique identifier for the client performing the mutation.
errors
[String!]!
galleryGroup
Mutation
mutation CreateGalleryGroup($input: CreateGalleryGroupInput!) {
createGalleryGroup(input: $input) {
clientMutationId
errors
galleryGroup {
canDelete
galleryPage
galleryType
id
isEnabled
label
}
}
}Variables
{
"input": {
"galleryType": "BUNDLES",
"spacesCollectionId": "id"
}
}Response
{
"data": {
"createGalleryGroup": {
"clientMutationId": "string",
"errors": [
"string"
],
"galleryGroup": {
"canDelete": true,
"galleryPage": "DISCOVERY",
"galleryType": "BUNDLES",
"id": "id",
"isEnabled": true,
"label": "string"
}
}
}
}