POST /api/template/import
Initiate Import

Parâmentros

Nome parâmetro Descrição
repo
opcional

Import templates from a different repo.

Validations:

  • Must be String

branch
opcional

Branch in Git repo.

Validations:

  • Must be String

prefix
opcional

The string all imported templates should begin with.

Validations:

  • Must be String

dirname
opcional

The directory within the git tree containing the templates.

Validations:

  • Must be String

filter
opcional

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

Validations:

  • Must be String

negate
opcional

Negate the prefix (for purging).

Validations:

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

associate
opcional

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

Validations:

  • Must be String