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

Parâmentros

Nome parâmetro Descrição
template_id
requerido

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
opcional

filtrar resultados

Validations:

  • Must be String

order
opcional

ordenar resultados

Validations:

  • Must be String

page
opcional

paginar resultados

Validations:

  • Must be String

per_page
opcional

número de entradas por requisições

Validations:

  • Must be String


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

Parâmentros

Nome parâmetro Descrição
template_id
requerido

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
requerido

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

Parâmentros

Nome parâmetro Descrição
template_id
requerido

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
requerido

Validations:

  • Must be a Hash

foreign_input_set[target_template_id]
requerido

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]
opcional , nulo permitido

Include all inputs from the foreign template

Validations:

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

foreign_input_set[include]
opcional , nulo permitido

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

Validations:

  • Must be String

foreign_input_set[exclude]
opcional , nulo permitido

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

Validations:

  • Must be String

foreign_input_set[description]
opcional , nulo permitido

Input set description

Validations:

  • Must be String


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

Parâmentros

Nome parâmetro Descrição
template_id
requerido

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
requerido

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

Parâmentros

Nome parâmetro Descrição
template_id
requerido

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
requerido

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
requerido

Validations:

  • Must be a Hash

foreign_input_set[target_template_id]
opcional

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]
opcional , nulo permitido

Include all inputs from the foreign template

Validations:

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

foreign_input_set[include]
opcional , nulo permitido

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

Validations:

  • Must be String

foreign_input_set[exclude]
opcional , nulo permitido

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

Validations:

  • Must be String

foreign_input_set[description]
opcional , nulo permitido

Input set description

Validations:

  • Must be String