Mutation
mutation ReorderSpacesCollection($input: ReorderSpacesCollectionInput!) {
reorderSpacesCollection(input: $input) {
clientMutationId
errors
spacesCollection {
avatarUrls
createdAt
description
explorable
galleryGroups {
canDelete
galleryPage
galleryType
id
isEnabled
label
}
id
}
}
}Variables
{
"input": {
"collectionId": "id"
}
}Response
{
"data": {
"reorderSpacesCollection": {
"clientMutationId": "string",
"errors": [
"string"
],
"spacesCollection": {
"avatarUrls": [
"string"
],
"createdAt": "value",
"description": "string",
"explorable": true,
"galleryGroups": [
{
"canDelete": true,
"galleryPage": "DISCOVERY",
"galleryType": "BUNDLES",
"id": "id",
"isEnabled": true,
"label": "string"
}
],
"id": "id"
}
}
}
}Mutations
reorderSpacesCollection
Reorder a Spaces Collection within the Network sidebar. Pass exactly one of
atTop, atBottom, or atItemId (the ID of a sibling Collection to insert
above). See docs/reordering.md for the full protocol.
Required scope: host:write:network_spaces
MUTATION
reorderSpacesCollection(input: ReorderSpacesCollectionInput!): ReorderSpacesCollectionPayloadArguments
input
required
Parameters for ReorderSpacesCollection
clientMutationId
String
A unique identifier for the client performing the mutation.
errors
[String!]!
spacesCollection
Mutation
mutation ReorderSpacesCollection($input: ReorderSpacesCollectionInput!) {
reorderSpacesCollection(input: $input) {
clientMutationId
errors
spacesCollection {
avatarUrls
createdAt
description
explorable
galleryGroups {
canDelete
galleryPage
galleryType
id
isEnabled
label
}
id
}
}
}Variables
{
"input": {
"collectionId": "id"
}
}Response
{
"data": {
"reorderSpacesCollection": {
"clientMutationId": "string",
"errors": [
"string"
],
"spacesCollection": {
"avatarUrls": [
"string"
],
"createdAt": "value",
"description": "string",
"explorable": true,
"galleryGroups": [
{
"canDelete": true,
"galleryPage": "DISCOVERY",
"galleryType": "BUNDLES",
"id": "id",
"isEnabled": true,
"label": "string"
}
],
"id": "id"
}
}
}
}