Skip to main content

GridOwnership

The current first-class ownership record for a grid. Server player code always resolves its execution identity from this record.

type GridOwnership {
gridOwnershipId: String!
gridId: BigInt!
appId: BigInt!
ownerKind: GridOwnerKind!
ownerRef: BigInt!
tenure: GridTenure!
acquiredVia: String!
acquiredAt: DateTime!
expiresAt: DateTime
}

Fields

GridOwnership.gridOwnershipId ● String! non-null scalar

UUID of the ownership history row.

GridOwnership.gridId ● BigInt! non-null scalar

Owned grid id.

GridOwnership.appId ● BigInt! non-null scalar

App that contains the grid.

GridOwnership.ownerKind ● GridOwnerKind! non-null enum

Kind of current owner. P1 supports USER.

GridOwnership.ownerRef ● BigInt! non-null scalar

Numeric user/group/org id selected by ownerKind.

GridOwnership.tenure ● GridTenure! non-null enum

Permanent ownership or an expiring rental.

GridOwnership.acquiredVia ● String! non-null scalar

Audit origin of this ownership (for example studio_grant, transfer, or marketplace).

GridOwnership.acquiredAt ● DateTime! non-null scalar

When this ownership began.

GridOwnership.expiresAt ● DateTime scalar

Rental expiry; null for permanent ownership.

Returned By

assignGridOwnership mutation ● gridOwnership query ● transferGridOwnership mutation