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.