GET /api/templates/:template_id/foreign_input_sets
List foreign input sets

Параметры

Имя параметра Описание
template_id
обязательно

Validations:

  • Must be an identifier, string from 1 to 128 characters containing only alphanumeric characters, space, underscore(_), hypen(-) with no leading or trailing space.

search
необязательно

отфильтровать результаты

Validations:

  • Must be String

order
необязательно

отсортировать результаты

Validations:

  • Must be String

page
необязательно

постраничный вывод

Validations:

  • Must be String

per_page
необязательно

количество записей на запрос

Validations:

  • Must be String


GET /api/templates/:template_id/foreign_input_sets/:id
Show foreign input set details

Параметры

Имя параметра Описание
template_id
обязательно

Validations:

  • Must be an identifier, string from 1 to 128 characters containing only alphanumeric characters, space, underscore(_), hypen(-) with no leading or trailing space.

id
обязательно

Validations:

  • Must be an identifier, string from 1 to 128 characters containing only alphanumeric characters, space, underscore(_), hypen(-) with no leading or trailing space.


POST /api/templates/:template_id/foreign_input_sets
Create a foreign input set

Параметры

Имя параметра Описание
template_id
обязательно

Validations:

  • Must be an identifier, string from 1 to 128 characters containing only alphanumeric characters, space, underscore(_), hypen(-) with no leading or trailing space.

foreign_input_set
обязательно

Validations:

  • Must be a Hash

foreign_input_set[target_template_id]
обязательно

Target template ID

Validations:

  • Must be an identifier, string from 1 to 128 characters containing only alphanumeric characters, space, underscore(_), hypen(-) with no leading or trailing space.

foreign_input_set[include_all]
необязательно , nil разрешен

Include all inputs form the foreign template

Validations:

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

foreign_input_set[include]
необязательно , nil разрешен

A comma separated list of input names to be included from the foreign template.

Validations:

  • Must be String

foreign_input_set[exclude]
необязательно , nil разрешен

A comma separated list of input names to be included from the foreign template.

Validations:

  • Must be String

foreign_input_set[description]
необязательно , nil разрешен

Input set description

Validations:

  • Must be String


DELETE /api/templates/:template_id/foreign_input_sets/:id
Delete a foreign input set

Параметры

Имя параметра Описание
template_id
обязательно

Validations:

  • Must be an identifier, string from 1 to 128 characters containing only alphanumeric characters, space, underscore(_), hypen(-) with no leading or trailing space.

id
обязательно

Validations:

  • Must be an identifier, string from 1 to 128 characters containing only alphanumeric characters, space, underscore(_), hypen(-) with no leading or trailing space.


PUT /api/templates/:template_id/foreign_input_sets/:id
Update a foreign input set

Параметры

Имя параметра Описание
template_id
обязательно

Validations:

  • Must be an identifier, string from 1 to 128 characters containing only alphanumeric characters, space, underscore(_), hypen(-) with no leading or trailing space.

id
обязательно

Validations:

  • Must be an identifier, string from 1 to 128 characters containing only alphanumeric characters, space, underscore(_), hypen(-) with no leading or trailing space.

foreign_input_set
обязательно

Validations:

  • Must be a Hash

foreign_input_set[target_template_id]
необязательно

Target template ID

Validations:

  • Must be an identifier, string from 1 to 128 characters containing only alphanumeric characters, space, underscore(_), hypen(-) with no leading or trailing space.

foreign_input_set[include_all]
необязательно , nil разрешен

Include all inputs form the foreign template

Validations:

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

foreign_input_set[include]
необязательно , nil разрешен

A comma separated list of input names to be included from the foreign template.

Validations:

  • Must be String

foreign_input_set[exclude]
необязательно , nil разрешен

A comma separated list of input names to be included from the foreign template.

Validations:

  • Must be String

foreign_input_set[description]
необязательно , nil разрешен

Input set description

Validations:

  • Must be String