mutation CreateSpacesCollection($input: CreateSpacesCollectionInput!) {
createSpacesCollection(input: $input) {
clientMutationId
errors
nearMatches {
avatarUrls
createdAt
description
explorable
galleryGroups {
canDelete
galleryPage
galleryType
id
isEnabled
label
}
id
}
newlyCreated
spacesCollection {
avatarUrls
createdAt
description
explorable
galleryGroups {
canDelete
galleryPage
galleryType
id
isEnabled
label
}
id
}
}
}{
"input": {
"name": "string"
}
}{
"data": {
"createSpacesCollection": {
"clientMutationId": "string",
"errors": [
"string"
],
"nearMatches": [
{
"avatarUrls": [
"string"
],
"createdAt": "value",
"description": "string",
"explorable": true,
"galleryGroups": [
{
"canDelete": true,
"galleryPage": "DISCOVERY",
"galleryType": "BUNDLES",
"id": "id",
"isEnabled": true,
"label": "string"
}
],
"id": "id"
}
],
"newlyCreated": true,
"spacesCollection": {
"avatarUrls": [
"string"
],
"createdAt": "value",
"description": "string",
"explorable": true,
"galleryGroups": [
{
"canDelete": true,
"galleryPage": "DISCOVERY",
"galleryType": "BUNDLES",
"id": "id",
"isEnabled": true,
"label": "string"
}
],
"id": "id"
}
}
}
}createSpacesCollection
Create a Spaces Collection (or reuse an existing one with the same name) and optionally move existing Spaces into it.
Required scope: host:write:network_spaces
createSpacesCollection(input: CreateSpacesCollectionInput!): CreateSpacesCollectionPayloadArguments
Parameters for CreateSpacesCollection
A unique identifier for the client performing the mutation.
Collections whose name resembles the requested one without matching it exactly (e.g. a dropped emoji), present when this call created spacesCollection next to one or more of these rather than erroring. Empty when no collection resembled the requested name, and always empty when spaceTitles names a Space to move, because that call rejects a resembling name instead of creating beside it.
True when this call created the collection rather than reusing an existing one. Null when no collection was resolved.
mutation CreateSpacesCollection($input: CreateSpacesCollectionInput!) {
createSpacesCollection(input: $input) {
clientMutationId
errors
nearMatches {
avatarUrls
createdAt
description
explorable
galleryGroups {
canDelete
galleryPage
galleryType
id
isEnabled
label
}
id
}
newlyCreated
spacesCollection {
avatarUrls
createdAt
description
explorable
galleryGroups {
canDelete
galleryPage
galleryType
id
isEnabled
label
}
id
}
}
}{
"input": {
"name": "string"
}
}{
"data": {
"createSpacesCollection": {
"clientMutationId": "string",
"errors": [
"string"
],
"nearMatches": [
{
"avatarUrls": [
"string"
],
"createdAt": "value",
"description": "string",
"explorable": true,
"galleryGroups": [
{
"canDelete": true,
"galleryPage": "DISCOVERY",
"galleryType": "BUNDLES",
"id": "id",
"isEnabled": true,
"label": "string"
}
],
"id": "id"
}
],
"newlyCreated": true,
"spacesCollection": {
"avatarUrls": [
"string"
],
"createdAt": "value",
"description": "string",
"explorable": true,
"galleryGroups": [
{
"canDelete": true,
"galleryPage": "DISCOVERY",
"galleryType": "BUNDLES",
"id": "id",
"isEnabled": true,
"label": "string"
}
],
"id": "id"
}
}
}
}