Skip to main content

gameModelCreateContainer

Instantiate a container (a runtime entity of a given type), optionally within a session, with an owner and initial properties. Subject to the type's instantiableBy rule (admin | member | owner). Requires a valid token.

gameModelCreateContainer(
input: CreateContainerInput!
): GmContainer!

Arguments

gameModelCreateContainer.input ● CreateContainerInput! non-null input

The app, optional session, container type, display name, optional owner/metadata, and initial property values.

Type

GmContainer object

A container: a runtime instance of a container type (optionally scoped to a session).