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

参数

参数名字 描述
template_id
必填

Value:

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

search
选填

过滤结果


Value:

Must be String

order
选填

结果排序


Value:

Must be String

page
选填

页数


Value:

Must be String

per_page
选填

每个请求中的条目数


Value:

Must be String


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

参数

参数名字 描述
template_id
必填

Value:

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

id
必填

Value:

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
必填

Value:

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
必填

Value:

Must be a Hash

foreign_input_set[target_template_id]
必填

Target template id


Value:

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]
选填 , 允许空值

Include all inputs form the foreign template


Value:

Must be ‘true’ or ‘false’

foreign_input_set[include]
选填 , 允许空值

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


Value:

Must be String

foreign_input_set[exclude]
选填 , 允许空值

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


Value:

Must be String

foreign_input_set[description]
选填 , 允许空值

Input set description


Value:

Must be String


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

参数

参数名字 描述
template_id
必填

Value:

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

id
必填

Value:

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
必填

Value:

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

id
必填

Value:

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
必填

Value:

Must be a Hash

foreign_input_set[target_template_id]
选填

Target template id


Value:

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]
选填 , 允许空值

Include all inputs form the foreign template


Value:

Must be ‘true’ or ‘false’

foreign_input_set[include]
选填 , 允许空值

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


Value:

Must be String

foreign_input_set[exclude]
选填 , 允许空值

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


Value:

Must be String

foreign_input_set[description]
选填 , 允许空值

Input set description


Value:

Must be String