Skip to main content

CreateSessionInput

Create a runtime session.

input CreateSessionInput {
appId: BigInt!
name: String
metadataJson: String
participantUserIds: [BigInt!]
}

Fields

CreateSessionInput.appId ● BigInt! non-null scalar

The app (tenant) the session belongs to.

CreateSessionInput.name ● String scalar

Optional session name.

CreateSessionInput.metadataJson ● String scalar

JSON object of session metadata.

CreateSessionInput.participantUserIds ● [BigInt!] list scalar

Initial participants besides the creator.

Member Of

gameModelCreateSession mutation