Metadata

- Authentication: The user must be authenticated to perform this action.
- Admin privileges: The user has to have administrative privileges to perform this
    action.

Params

Param name Description
template
optional , nil allowed

Validations:

  • Must be a Hash

template[name]
required

Name of the template.

Validations:

  • Must be a String

template[template_type]
required

The type of the template, e.g. ‘generic’, ‘avid’, ‘adobe’

Validations:

  • Must be a String

substitution_patterns
optional

An array of SubstitutionPattern objects.

Validations:

  • Must be an Array of nested elements

substitution_patterns[substitution_pattern]
optional

Validations:

  • Must be a Hash

substitution_patterns[substitution_pattern][token]
required

The string to search for.

Validations:

  • Must be a String

substitution_patterns[substitution_pattern][pattern]
required

The string to replace token with. It may contain several special sequences like %n that will be interpreted when a project is created.

Validations:

  • Must be a String