# Description
An environment is a basic organization structure that groups hosts, products, repositories, etc. Every host belongs to one environment and it's isolated inside so that it can see only content that is in its environment.
## Chains
Environments are ordered into chains and their content (propducts, repositories, tempaltes, packages) can be moved to an environment only from its prior environment. You can have for example chain like:
Library -> Development -> Testing -> Production
Each change in an environment is done through a changeset in an action called promotion.
## Library
Library is a special environment that has no ascendant: All the content starts in this environment. More chains can start from the library environment but no further branching of a chain is enabled.
Param name | Description |
---|---|
organization_id optional |
조직 ID Validations:
|
library optional |
라이브러리 환경만 확인하려면 true로 설정 Validations:
|
name optional |
이름이 포함환 환경만 필터링 Validations:
|
search optional |
검색 문자열 Validations:
|
page optional |
1 부터 페이지 번호 Validations:
|
per_page optional |
반환할 페이지 당 결과 수 Validations:
|
order optional |
필드 및 순서 정렬. 예: 'name DESC' Validations:
|
full_result optional |
모든 결과를 표시할 지에 대한 여부 Validations:
|
sort optional |
'order' 매개 변수의 해시 버전 Validations:
|
sort[by] optional |
결과를 정렬할 필드 Validations:
|
sort[order] optional |
정렬된 결고를 정렬하는 방법 (예: 오름차순의 ASC) Validations:
|
Param name | Description |
---|---|
id required |
환경 ID Validations:
|
organization_id optional |
조직 ID Validations:
|
Param name | Description |
---|---|
organization_id required |
조직 이름 Validations:
|
name required |
환경 이름 Validations:
|
label optional |
환경 레이블 Validations:
|
description optional |
환경 설명 Validations:
|
prior_id required |
ID of an environment that is prior to the new environment in the chain. It has to be either the ID of Library or the ID of an environment at the end of a chain. Validations:
|
Param name | Description |
---|---|
id required |
환경 ID Validations:
|
organization_id optional |
조직 이름 Validations:
|
new_name optional |
환경에 지정할 새 이름 Validations:
|
description optional |
환경 설명 Validations:
|
Param name | Description |
---|---|
id required |
환경 ID Validations:
|
organization_id optional |
조직 ID Validations:
|
Param name | Description |
---|---|
organization_id optional |
조직 ID Validations:
|
permission_type optional |
The associated permission type. One of (readable | promotable) Default: readable Validations:
|