POST /api/template/import
Initiate Import

Parametry

Nazwa parametru Opis
verbose
opcjonalny

Set verbosity of import

Validations:

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

repo
opcjonalny

Override the default repo from settings.

Validations:

  • Must be a String

branch
opcjonalny

Branch in Git repo.

Validations:

  • Must be a String

prefix
opcjonalny

The string all imported templates should begin with.

Validations:

  • Must be a String

dirname
opcjonalny

The directory within the git tree containing the templates.

Validations:

  • Must be a String

filter
opcjonalny

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

Validations:

  • Must be a String

negate
opcjonalny

Negate the prefix (for purging).

Validations:

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

associate
opcjonalny

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

Validations:

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

force
opcjonalny

Update templates that are locked

Validations:

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


POST /api/template/export
Initiate Export

Parametry

Nazwa parametru Opis
verbose
opcjonalny

Set verbosity of export

Validations:

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

repo
opcjonalny

Override the default repo from settings

Validations:

  • Must be a String

branch
opcjonalny

Branch in Git repo.

Validations:

  • Must be a String

filter
opcjonalny

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

Validations:

  • Must be a String

negate
opcjonalny

Negate the prefix (for purging).

Validations:

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

metadata_export_mode
opcjonalny

Specify how to handle metadata

Validations:

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

dir
opcjonalny

The directory within Git repo

Validations:

  • Must be a String