GET /api/common_parameters
List all global parameters.

参数

参数名字 描述
search
选填

过滤结果


Value:

Must be String

order
选填

结果排序


Value:

Must be String

page
选填

页数


Value:

Must be String

per_page
选填

每个请求中的条目数


Value:

Must be String


GET /api/common_parameters/:id
Show a global parameter

参数

参数名字 描述
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/common_parameters
Create a global parameter

参数

参数名字 描述
common_parameter
必填

Value:

Must be a Hash

common_parameter[name]
必填

Value:

Must be String

common_parameter[value]
必填

Value:

Must be String

common_parameter[hidden_value]
选填 , 允许空值

Value:

Must be one of: true, false.


PUT /api/common_parameters/:id
Update a global parameter

参数

参数名字 描述
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.

common_parameter
必填

Value:

Must be a Hash

common_parameter[name]
选填

Value:

Must be String

common_parameter[value]
选填

Value:

Must be String

common_parameter[hidden_value]
选填 , 允许空值

Value:

Must be one of: true, false.


DELETE /api/common_parameters/:id
Delete a global parameter

参数

参数名字 描述
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.