Mutation
mutation UpdateCommunityTheme($input: UpdateCommunityThemeInput!) {
updateCommunityTheme(input: $input) {
clientMutationId
community {
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
}
member {
__typename
}
memberId
message
}
automationRules {
edges {
__typename
}
nodes {
__typename
}
pageInfo {
__typename
}
}
}
errors
}
}Variables
{
"input": {}
}Response
{
"data": {
"updateCommunityTheme": {
"clientMutationId": "string",
"community": {
"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"
},
"member": {
"__typename": "User"
},
"memberId": "string",
"message": "string"
}
],
"automationRules": {
"edges": [
{
"__typename": "AutomationRuleEdge"
}
],
"nodes": [
{
"__typename": "AutomationRule"
}
],
"pageInfo": {
"__typename": "PageInfo"
}
}
},
"errors": [
"string"
]
}
}
}Mutations
updateCommunityTheme
Set the community’s branding colors. Pass primaryColor to derive the whole theme from one color, or lightTheme and darkTheme together to set all six colors explicitly.
Required scope: host:write:network_settings
MUTATION
updateCommunityTheme(input: UpdateCommunityThemeInput!): UpdateCommunityThemePayloadArguments
input
required
Parameters for UpdateCommunityTheme
Returns
clientMutationId
String
A unique identifier for the client performing the mutation.
community
errors
[String!]!
Mutation
mutation UpdateCommunityTheme($input: UpdateCommunityThemeInput!) {
updateCommunityTheme(input: $input) {
clientMutationId
community {
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
}
member {
__typename
}
memberId
message
}
automationRules {
edges {
__typename
}
nodes {
__typename
}
pageInfo {
__typename
}
}
}
errors
}
}Variables
{
"input": {}
}Response
{
"data": {
"updateCommunityTheme": {
"clientMutationId": "string",
"community": {
"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"
},
"member": {
"__typename": "User"
},
"memberId": "string",
"message": "string"
}
],
"automationRules": {
"edges": [
{
"__typename": "AutomationRuleEdge"
}
],
"nodes": [
{
"__typename": "AutomationRule"
}
],
"pageInfo": {
"__typename": "PageInfo"
}
}
},
"errors": [
"string"
]
}
}
}