GET /api/locations
List all locations

Params

Param name Description
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/locations/:id
Show a location

Params

Param name Description
show_hidden_parameters
optional

Display hidden parameter 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/locations
Create a location

Params

Param name Description
location
required

Validations:

  • Must be a Hash

location[name]
required

Validations:

  • Must be a String

location[description]
optional , nil allowed

Validations:

  • Must be a String

location[user_ids]
optional , nil allowed

사용자 ID

Validations:

  • Must be an array of any type

location[smart_proxy_ids]
optional , nil allowed

스마트 프록시 ID

Validations:

  • Must be an array of any type

location[compute_resource_ids]
optional , nil allowed

컴퓨터 리소스 ID

Validations:

  • Must be an array of any type

location[medium_ids]
optional , nil allowed

Medium IDs

Validations:

  • Must be an array of any type

location[config_template_ids]
optional , nil allowed

프로비저닝 템플릿 ID

Validations:

  • Must be an array of any type

location[ptable_ids]
optional , nil allowed

파티션 템플릿 ID

Validations:

  • Must be an array of any type

location[provisioning_template_ids]
optional , nil allowed

프로비저닝 템플릿 ID

Validations:

  • Must be an array of any type

location[domain_ids]
optional , nil allowed

도메인 ID

Validations:

  • Must be an array of any type

location[realm_ids]
optional , nil allowed

영역 ID

Validations:

  • Must be an array of any type

location[hostgroup_ids]
optional , nil allowed

호스트 그룹 ID

Validations:

  • Must be an array of any type

location[environment_ids]
optional , nil allowed

환경 ID

Validations:

  • Must be an array of any type

location[subnet_ids]
optional , nil allowed

서브넷 ID

Validations:

  • Must be an array of any type

location[parent_id]
optional , nil allowed

부모 ID

Validations:

  • Must be a number.

location[ignore_types]
optional , nil allowed

List of resources types that will be automatically associated

Validations:

  • Must be an array of any type


PUT /api/locations/:id
Update a location

Params

Param name Description
location
required

Validations:

  • Must be a Hash

location[name]
optional

Validations:

  • Must be a String

location[description]
optional , nil allowed

Validations:

  • Must be a String

location[user_ids]
optional , nil allowed

사용자 ID

Validations:

  • Must be an array of any type

location[smart_proxy_ids]
optional , nil allowed

스마트 프록시 ID

Validations:

  • Must be an array of any type

location[compute_resource_ids]
optional , nil allowed

컴퓨터 리소스 ID

Validations:

  • Must be an array of any type

location[medium_ids]
optional , nil allowed

Medium IDs

Validations:

  • Must be an array of any type

location[config_template_ids]
optional , nil allowed

프로비저닝 템플릿 ID

Validations:

  • Must be an array of any type

location[ptable_ids]
optional , nil allowed

파티션 템플릿 ID

Validations:

  • Must be an array of any type

location[provisioning_template_ids]
optional , nil allowed

프로비저닝 템플릿 ID

Validations:

  • Must be an array of any type

location[domain_ids]
optional , nil allowed

도메인 ID

Validations:

  • Must be an array of any type

location[realm_ids]
optional , nil allowed

영역 ID

Validations:

  • Must be an array of any type

location[hostgroup_ids]
optional , nil allowed

호스트 그룹 ID

Validations:

  • Must be an array of any type

location[environment_ids]
optional , nil allowed

환경 ID

Validations:

  • Must be an array of any type

location[subnet_ids]
optional , nil allowed

서브넷 ID

Validations:

  • Must be an array of any type

location[parent_id]
optional , nil allowed

부모 ID

Validations:

  • Must be a number.

location[ignore_types]
optional , nil allowed

List of resources types that will be automatically associated

Validations:

  • Must be an array of any type

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.


DELETE /api/locations/:id
Delete a location

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.