POST /api/template/import
Initiate Import

Parametry

Nazwa parametru Opis
verbose
opcjonalny

Set verbosity of import

Validations:

  • Must be 'true' or 'false' or '1' or '0'

repo
opcjonalny

Override the default repo from settings.

Validations:

  • Must be String

branch
opcjonalny

Branch in Git repo.

Validations:

  • Must be String

prefix
opcjonalny

The string all imported templates should begin with.

Validations:

  • Must be String

dirname
opcjonalny

The directory within the git tree containing the templates.

Validations:

  • Must be String

filter
opcjonalny

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

Validations:

  • Must be String

negate
opcjonalny

Negate the prefix (for purging).

Validations:

  • Must be 'true' or 'false' or '1' or '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 'true' or 'false' or '1' or '0'


POST /api/template/export
Initiate Export

Parametry

Nazwa parametru Opis
verbose
opcjonalny

Set verbosity of export

Validations:

  • Must be 'true' or 'false' or '1' or '0'

repo
opcjonalny

Override the default repo from settings

Validations:

  • Must be String

branch
opcjonalny

Branch in Git repo.

Validations:

  • Must be String

filter
opcjonalny

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

Validations:

  • Must be String

negate
opcjonalny

Negate the prefix (for purging).

Validations:

  • Must be 'true' or 'false' or '1' or '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 String