GET /api/common_parameters
모든 글로벌 매개 변수를 나열합니다.

Params

Param name Description
show_hidden
optional

Display hidden values

Validations:

  • Must be one of: true, false, 1, 0

search
optional

필터 결과

Validations:

  • Must be a String

order
optional

결과 정렬

Validations:

  • Must be a String

page
optional

페이지네이션 결과

Validations:

  • Must be a String

per_page
optional

요청 당 항목 수

Validations:

  • Must be a String


GET /api/common_parameters/:id
글로벌 매개 변수 표시

Params

Param name Description
show_hidden
optional

Display hidden values

Validations:

  • Must be one of: true, false, 1, 0

id
required

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/common_parameters
글로벌 매개 변수 생성

Params

Param name Description
common_parameter
required

Validations:

  • Must be a Hash

common_parameter[name]
required

Validations:

  • Must be a String

common_parameter[value]
required

Validations:

  • Must be a String

common_parameter[hidden_value]
optional , nil allowed

Validations:

  • Must be one of: true, false.


PUT /api/common_parameters/:id
글로벌 매개 변수 업데이트

Params

Param name Description
id
required

Validations:

  • 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

Validations:

  • Must be a Hash

common_parameter[name]
optional

Validations:

  • Must be a String

common_parameter[value]
optional

Validations:

  • Must be a String

common_parameter[hidden_value]
optional , nil allowed

Validations:

  • Must be one of: true, false.


DELETE /api/common_parameters/:id
글로벌 매개 변수 삭제

Params

Param name Description
id
required

Validations:

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