Skip to content

Latest commit

 

History

History
40 lines (25 loc) · 1.89 KB

File metadata and controls

40 lines (25 loc) · 1.89 KB

AutomationsCreateParameters

Properties

Name Type Description Notes
name String name of the automation
trigger TriggerEnum
projectIds List<String> List of project IDs to associate with the automation. Providing more than one project ID requires the `advanced_job_automation` plan feature; accounts without this feature receive a 422 response with error field `project_ids`.
jobTemplateId String id of job template that the automation uses to create jobs from [optional]
statusFilters List<StatusFiltersEnum> Translation states used when selecting keys for a job. States are derived from associated translations, not the keys themselves. When review workflow is enabled, `ready_for_review` is internally treated as `translated`.
tags List<String> used to filter which keys are added to jobs [optional]
cronSchedule String along with time_zone, specifies when the scheduled automation is supposed to run [optional]
timeZone String along with cron_schedule, specifies when the scheduled automation is supposed to run [optional]
jobOwnerId String User ID of the job owner that newly created jobs are assigned to. [optional]
includeOnlyUpdatedLocales Boolean When `true`, the automation only acts on locales that changed since its last run. Defaults to `false`. [optional]

Enum: TriggerEnum

Name Value
SCHEDULE "schedule"
UPLOAD "upload"

Enum: List<StatusFiltersEnum>

Name Value
UNVERIFIED "unverified"
UNTRANSLATED "untranslated"
READY_FOR_REVIEW "ready_for_review"