Mutation
mutation UpdateNetwork($input: UpdateNetworkInput!) {
updateNetwork(input: $input) {
clientMutationId
errors
network {
abuseReports {
edges {
__typename
}
nodes {
__typename
}
pageInfo {
__typename
}
}
ambassadorStats {
ambassadorCounts {
__typename
}
canAnnounce
totalAmbassadorCount
totalMembersReferred
totalMembersReferredByAmbassador
}
announcements {
edges {
__typename
}
nodes {
__typename
}
pageInfo {
__typename
}
}
assets {
edges {
__typename
}
nodes {
__typename
}
pageInfo {
__typename
}
}
automationRuleLogs {
action
actionParameters
automationRule {
__typename
}
message
operationName
parameters
}
automationRules {
edges {
__typename
}
nodes {
__typename
}
pageInfo {
__typename
}
}
}
}
}Variables
{
"input": {}
}Response
{
"data": {
"updateNetwork": {
"clientMutationId": "string",
"errors": [
"string"
],
"network": {
"abuseReports": {
"edges": [
{
"__typename": "AbuseReportEdge"
}
],
"nodes": [
{
"__typename": "AbuseReport"
}
],
"pageInfo": {
"__typename": "PageInfo"
}
},
"ambassadorStats": {
"ambassadorCounts": [
{
"__typename": "AmbassadorLevelCount"
}
],
"canAnnounce": true,
"totalAmbassadorCount": 1,
"totalMembersReferred": 1,
"totalMembersReferredByAmbassador": 1
},
"announcements": {
"edges": [
{
"__typename": "AnnouncementEdge"
}
],
"nodes": [
{
"__typename": "Announcement"
}
],
"pageInfo": {
"__typename": "PageInfo"
}
},
"assets": {
"edges": [
{
"__typename": "AssetEdge"
}
],
"nodes": [
{
"__typename": "Asset"
}
],
"pageInfo": {
"__typename": "PageInfo"
}
},
"automationRuleLogs": [
{
"action": "string",
"actionParameters": "string",
"automationRule": {
"__typename": "AutomationRule"
},
"message": "string",
"operationName": "string",
"parameters": "string"
}
],
"automationRules": {
"edges": [
{
"__typename": "AutomationRuleEdge"
}
],
"nodes": [
{
"__typename": "AutomationRule"
}
],
"pageInfo": {
"__typename": "PageInfo"
}
}
}
}
}
}Mutations
updateNetwork
Update Network attributes the Host controls: title, purpose, description, the discoverable/explorable/joinable privacy triple, default language, and host-toggleable features. Pass only the fields you want to change.
MUTATION
updateNetwork(input: UpdateNetworkInput!): UpdateNetworkPayloadArguments
input
UpdateNetworkInput!
required
Parameters for UpdateNetwork
Returns
clientMutationId
String
A unique identifier for the client performing the mutation.
errors
[String!]!
network
Mutation
mutation UpdateNetwork($input: UpdateNetworkInput!) {
updateNetwork(input: $input) {
clientMutationId
errors
network {
abuseReports {
edges {
__typename
}
nodes {
__typename
}
pageInfo {
__typename
}
}
ambassadorStats {
ambassadorCounts {
__typename
}
canAnnounce
totalAmbassadorCount
totalMembersReferred
totalMembersReferredByAmbassador
}
announcements {
edges {
__typename
}
nodes {
__typename
}
pageInfo {
__typename
}
}
assets {
edges {
__typename
}
nodes {
__typename
}
pageInfo {
__typename
}
}
automationRuleLogs {
action
actionParameters
automationRule {
__typename
}
message
operationName
parameters
}
automationRules {
edges {
__typename
}
nodes {
__typename
}
pageInfo {
__typename
}
}
}
}
}Variables
{
"input": {}
}Response
{
"data": {
"updateNetwork": {
"clientMutationId": "string",
"errors": [
"string"
],
"network": {
"abuseReports": {
"edges": [
{
"__typename": "AbuseReportEdge"
}
],
"nodes": [
{
"__typename": "AbuseReport"
}
],
"pageInfo": {
"__typename": "PageInfo"
}
},
"ambassadorStats": {
"ambassadorCounts": [
{
"__typename": "AmbassadorLevelCount"
}
],
"canAnnounce": true,
"totalAmbassadorCount": 1,
"totalMembersReferred": 1,
"totalMembersReferredByAmbassador": 1
},
"announcements": {
"edges": [
{
"__typename": "AnnouncementEdge"
}
],
"nodes": [
{
"__typename": "Announcement"
}
],
"pageInfo": {
"__typename": "PageInfo"
}
},
"assets": {
"edges": [
{
"__typename": "AssetEdge"
}
],
"nodes": [
{
"__typename": "Asset"
}
],
"pageInfo": {
"__typename": "PageInfo"
}
},
"automationRuleLogs": [
{
"action": "string",
"actionParameters": "string",
"automationRule": {
"__typename": "AutomationRule"
},
"message": "string",
"operationName": "string",
"parameters": "string"
}
],
"automationRules": {
"edges": [
{
"__typename": "AutomationRuleEdge"
}
],
"nodes": [
{
"__typename": "AutomationRule"
}
],
"pageInfo": {
"__typename": "PageInfo"
}
}
}
}
}
}⌘I