Vai al contenuto principale
Mutation

setScriptCollaboratorLevel

Changes a collaborator's access level on a screenplay. Requires edit access to the project.

Argomenti

  • accessLevelScriptAccessLevel!

    The new access level.

  • localeString

    Canonical content language of a SEQUENCE review; omit for the source review.

  • projectIdID!

    ID of the project.

  • screenplayIdID

    ID of the screenplay whose access changes. When omitted, the change applies to every screenplay of the project the collaborator can access.

  • targetKindShareTargetKind

    SCREENPLAY (default) for the screenplay's text, SEQUENCE for its AV script under review.

  • userIdID!

    ID of the collaborator's user account.

Restituisce

MutationSuccess!

Esempio

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
  }
}