Docs
GraphQL referenceMutations

Create Network

MUTATIONcreateNetwork(input: CreateNetworkInput!): NetworkMutationOutput!

Access: Requires the networks:configure permission.

Arguments

input*

Returns

  1. createNetwork
message?String
network?
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  }}
Variables
{  "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  }}
Example Response
{  "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    }  }}