POST /api/templates/import
Initiate Import

パラメーター

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

ロケーション別のスコープ

Validations:

  • Must be a Integer

organization_id
任意

組織別のスコープ

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: true, false, 1, 0.

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


POST /api/templates/export
Initiate Export

パラメーター

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

ロケーション別のスコープ

Validations:

  • Must be a Integer

organization_id
任意

組織別のスコープ

Validations:

  • Must be a Integer

metadata_export_mode
任意

Specify how to handle metadata

Validations:

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

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