GraphQL referenceMutations
Create Network
MUTATION
createNetwork(input: CreateNetworkInput!): NetworkMutationOutput!Access: Requires the networks:configure permission.
Arguments
input*Returns
- createNetwork
message?Stringnetwork?success*Boolean!Example Request
mutation CreateNetwork($input: CreateNetworkInput!) { createNetwork(input: $input) { message network { activeListeners baseUrl catchupEnabled catchupPremium code feed { total } flagshipSite { canonicalUrl createdAt externalStreamUrl id name organizationId shortId slug } id imagesUrl isPremium } success }}{ "input": { "baseUrl": "string", "catchupEnabled": false, "catchupPremium": false, "code": "string", "isPremium": false, "logoSvg": "string", "logoSvgIcon": "string", "name": "string", "navLogo": "LIGHT", "networkType": "STATION", "priority": 0, "requestsEnabled": false }}{ "data": { "createNetwork": { "message": "string", "network": { "activeListeners": 10, "baseUrl": "string", "catchupEnabled": true, "catchupPremium": true, "code": "string", "feed": { "total": 10 }, "flagshipSite": { "canonicalUrl": "string", "createdAt": "<DateTime>", "externalStreamUrl": "string", "id": "1", "name": "string", "organizationId": "1", "shortId": "string", "slug": "string" }, "id": "1", "imagesUrl": "string", "isPremium": true }, "success": true } }}