Skip to main content

setAppRequiredDocuments

Set the documents the app's players accept before playing, replacing the list: documents not named stop being required, and a new version of one asks every player of the app again at their next mint or refresh (LEGAL_ACCEPTANCE_REQUIRED until they accept it). At most 10; ids may not reuse the platform's. Requires the 'manage_apps' permission on the app; super admins bypass.

setAppRequiredDocuments(
appId: BigInt!
documents: [AppRequiredDocumentInput!]!
): [LegalDocument!]!

Arguments​

setAppRequiredDocuments.appId ● BigInt! non-null scalar​

The app (BigInt as a decimal string).

setAppRequiredDocuments.documents ● [AppRequiredDocumentInput!]! non-null input​

The complete list of documents the app requires.

Type​

LegalDocument object​

A document players (or developers) accept: its id, the version currently required, its title and where to read it. appId is set for an app’s own document and null for the platform’s.