setScriptCollaboratorLevel
Changes a collaborator's access level on a screenplay. Requires edit access to the project.
Argumente
accessLevelScriptAccessLevel!The new access level.
localeStringCanonical content language of a SEQUENCE review; omit for the source review.
projectIdID!ID of the project.
screenplayIdIDID of the screenplay whose access changes. When omitted, the change applies to every screenplay of the project the collaborator can access.
targetKindShareTargetKindSCREENPLAY(default) for the screenplay's text,SEQUENCEfor its AV script under review.userIdID!ID of the collaborator's user account.
Rückgabe
MutationSuccess!Beispiel
mutation SetScriptCollaboratorLevel($accessLevel: ScriptAccessLevel!, $locale: String, $projectId: ID!, $screenplayId: ID, $targetKind: ShareTargetKind, $userId: ID!) {
setScriptCollaboratorLevel(
accessLevel: $accessLevel
locale: $locale
projectId: $projectId
screenplayId: $screenplayId
targetKind: $targetKind
userId: $userId
) {
success
}
}