Mutation
mutation CreateLiveSpace($input: CreateLiveSpaceInput!) {
createLiveSpace(input: $input) {
clientMutationId
errors
liveSpace {
createdAt
creator {
ambassadorLevel
ambassadorLevelId
avatarUrl
badges {
__typename
}
conversations {
__typename
}
customFieldResponses {
__typename
}
}
eventInstanceAt
eventInstanceStartsAt
eventPost {
__typename
... on Event {
__typename
}
}
id
}
}
}Variables
{
"input": {
"title": "string"
}
}Response
{
"data": {
"createLiveSpace": {
"clientMutationId": "string",
"errors": [
"string"
],
"liveSpace": {
"createdAt": "value",
"creator": {
"ambassadorLevel": "string",
"ambassadorLevelId": 1,
"avatarUrl": "string",
"badges": [
{
"__typename": "Badge"
}
],
"conversations": {
"__typename": "PublicConversationConnection"
},
"customFieldResponses": {
"__typename": "MemberCustomFieldResponseConnection"
}
},
"eventInstanceAt": "value",
"eventInstanceStartsAt": "value",
"eventPost": {
"__typename": "Event"
},
"id": "id"
}
}
}
}Mutations
createLiveSpace
Start a livestream in a Space, or on the Network itself. The livestream is created in the initializing state and becomes joinable once its transmission starts; open the returned url to join the room as its creator. Livestreams consume the Network’s streaming hours until they are ended with completeLiveSpace.
Required scope: host:write:network_spaces
MUTATION
createLiveSpace(input: CreateLiveSpaceInput!): CreateLiveSpacePayloadArguments
input
required
Parameters for CreateLiveSpace
Returns
clientMutationId
String
A unique identifier for the client performing the mutation.
errors
[String!]!
liveSpace
Mutation
mutation CreateLiveSpace($input: CreateLiveSpaceInput!) {
createLiveSpace(input: $input) {
clientMutationId
errors
liveSpace {
createdAt
creator {
ambassadorLevel
ambassadorLevelId
avatarUrl
badges {
__typename
}
conversations {
__typename
}
customFieldResponses {
__typename
}
}
eventInstanceAt
eventInstanceStartsAt
eventPost {
__typename
... on Event {
__typename
}
}
id
}
}
}Variables
{
"input": {
"title": "string"
}
}Response
{
"data": {
"createLiveSpace": {
"clientMutationId": "string",
"errors": [
"string"
],
"liveSpace": {
"createdAt": "value",
"creator": {
"ambassadorLevel": "string",
"ambassadorLevelId": 1,
"avatarUrl": "string",
"badges": [
{
"__typename": "Badge"
}
],
"conversations": {
"__typename": "PublicConversationConnection"
},
"customFieldResponses": {
"__typename": "MemberCustomFieldResponseConnection"
}
},
"eventInstanceAt": "value",
"eventInstanceStartsAt": "value",
"eventPost": {
"__typename": "Event"
},
"id": "id"
}
}
}
}