Skip to main content

CreateContainerInput

Instantiate a container (runtime entity).

input CreateContainerInput {
appId: BigInt!
sessionId: String
typeName: String!
displayName: String!
description: String
ownerUserId: BigInt
metadataJson: String
properties: [SeedPropertyInput!]
}

Fields

CreateContainerInput.appId ● BigInt! non-null scalar

The app (tenant) the container belongs to.

CreateContainerInput.sessionId ● String scalar

Optional session to create the container in (omit for app-global).

CreateContainerInput.typeName ● String! non-null scalar

The container type to instantiate.

CreateContainerInput.displayName ● String! non-null scalar

Human-friendly display name.

CreateContainerInput.description ● String scalar

Optional description.

CreateContainerInput.ownerUserId ● BigInt scalar

Owner user id; defaults to the caller for member/owner instantiation.

CreateContainerInput.metadataJson ● String scalar

JSON object of metadata.

CreateContainerInput.properties ● [SeedPropertyInput!] list input

Initial property values for the container.

Member Of

gameModelCreateContainer mutation