POST /api/template/import
Initiate Import

パラメーター

パラメーター名 記述
verbose
任意

Set verbosity of import

Validations:

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

repo
任意

Override the default repo from settings.

Validations:

  • Must be a String

branch
任意

Branch in Git repo.

Validations:

  • Must be a String

prefix
任意

The string all imported templates should begin with.

Validations:

  • Must be a String

dirname
任意

The directory within the git tree containing the templates.

Validations:

  • Must be a String

filter
任意

Import 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

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


POST /api/template/export
Initiate Export

パラメーター

パラメーター名 記述
verbose
任意

Set verbosity of export

Validations:

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

repo
任意

Override the default repo from settings

Validations:

  • Must be a String

branch
任意

Branch in Git repo.

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

metadata_export_mode
任意

Specify how to handle metadata

Validations:

  • Must be one of: refresh, keep, remove.

dir
任意

The directory within Git repo

Validations:

  • Must be a String