参数

参数名字 描述
location_id
选填

Set the current location context for the request

Validations:

  • Must be a Integer

organization_id
选填

Set the current organization context for the request

Validations:

  • Must be a Integer

prefix
选填

The string all imported templates should begin with.

Validations:

  • Must be a String

associate
选填

Associate to OS's, Locations & Organizations. Options are: always, new or never.

Validations:

  • Must be one of: always, new, never.

force
选填

Update templates that are locked

Validations:

  • Must be one of: true, false, 1, 0.

lock
选填

Lock imported templates

Validations:

  • Must be one of: lock, keep_lock_new, keep, unlock, true, false, 0, 1.

verbose
选填

Show template diff in response

Validations:

  • Must be one of: true, false, 1, 0.

branch
选填

Branch in Git repo.

Validations:

  • Must be a String

repo
选填

Override the default repo from settings.

Validations:

  • Must be a String

filter
选填

Export templates with names matching this regex (case-insensitive; snippets are not filtered).

Validations:

  • Must be a String

negate
选填

Negate the prefix (for purging).

Validations:

  • Must be one of: true, false, 1, 0.

dirname
选填

The directory within Git repo containing the templates

Validations:

  • Must be a String

location_ids
选填

使用给定 id 替换位置

Validations:

  • Must be an array of any type

organization_ids
选填

使用给定 id 替换机构

Validations:

  • Must be an array of any type