# Description
An environment is a basic organization structure that groups systems, products, repositories, etc. Every system 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.
参数名字 | 描述 |
---|---|
organization_id 必填 |
机构识别符 Validations:
|
library 选填 |
如果只看到库环境则设定为 true Validations:
|
name 选填 |
只过滤包含这个名称的环境 Validations:
|
参数名字 | 描述 |
---|---|
id 必填 |
环境 ID Validations:
|
organization_id 选填 |
机构 ID Validations:
|
参数名字 | 描述 |
---|---|
organization_id 必填 |
机构名称 Validations:
|
name 必填 |
环境名称 Validations:
|
label 选填 |
环境标签 Validations:
|
description 选填 |
环境描述 Validations:
|
prior_id 必填 |
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:
|
参数名字 | 描述 |
---|---|
id 必填 |
环境 ID Validations:
|
organization_id 选填 |
机构名称 Validations:
|
new_name 选填 |
要分配给这个环境的新名称 Validations:
|
description 选填 |
环境描述 Validations:
|
参数名字 | 描述 |
---|---|
id 必填 |
环境 ID Validations:
|
organization_id 选填 |
机构识别符 Validations:
|
参数名字 | 描述 |
---|---|
organization_id 选填 |
机构识别符 Validations:
|
permission_type 选填 |
The associated permission type. One of (readable | promotable) Default: readable Validations:
|
参数名字 | 描述 |
---|---|
id 选填 |
环境识别符 Validations:
|
organization_id 选填 |
机构识别符 Validations:
|
content_view_id 选填 |
内容视图标识符 Validations:
|