GET /api/common_parameters
Список всех глобальных параметров

Params

Param Name Description
search
Optional

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


Value: Must be String
order
Optional

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


Value: Must be String
page
Optional

разместить результат на нескольких страницах


Value: Must be String
per_page
Optional

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


Value: Must be String

GET /api/common_parameters/:id
Показать глобальный параметр

Params

Param Name Description
id
Required

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
Создать глобальный параметр

Params

Param Name Description
common_parameter
Required

Value: Must be a Hash
common_parameter[name]
Required

Value: Must be String
common_parameter[value]
Required

Value: Must be String
common_parameter[hidden_value]
Optional , <span class="translation_missing" title="translation missing: ru.apipie.nil_allowed">Nil Allowed</span>

Value: Must be one of: true, false.

PUT /api/common_parameters/:id
Изменить глобальный параметр

Params

Param Name Description
id
Required

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
Required

Value: Must be a Hash
common_parameter[name]
Optional

Value: Must be String
common_parameter[value]
Optional

Value: Must be String
common_parameter[hidden_value]
Optional , <span class="translation_missing" title="translation missing: ru.apipie.nil_allowed">Nil Allowed</span>

Value: Must be one of: true, false.

DELETE /api/common_parameters/:id
Удалить глобальный параметр

Params

Param Name Description
id
Required

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