# 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.
Nombre del parámetro | Descripción |
---|---|
organization_id opcional |
identificador de la organización Validations:
|
library opcional |
establecer a verdadero, si solo desea ver entornos de biblioteca Validations:
|
name opcional |
filtrar solo entornos que contengan este nombre Validations:
|
search opcional |
Buscar cadena Validations:
|
page opcional |
Número de página, comenzando por 1 Validations:
|
per_page opcional |
Número de resultados por página para devolver Validations:
|
order opcional |
Orden y campo de clasificación, p. ej., 'name DESC' Validations:
|
full_result opcional |
Si se muestran o no todos los resultados Validations:
|
sort opcional |
Versión de hash del parámetro 'orden' Validations:
|
sort[by] opcional |
Campo en el que ordenar los resultados Validations:
|
sort[order] opcional |
Cómo ordenar los resultados clasificados (p. ej., ASC para orden ascendente) Validations:
|
Nombre del parámetro | Descripción |
---|---|
id requerido |
ID del entorno Validations:
|
organization_id opcional |
ID de la organización Validations:
|
Nombre del parámetro | Descripción |
---|---|
organization_id requerido |
nombre de la organización Validations:
|
name requerido |
nombre del entorno Validations:
|
label opcional |
etiqueta del entorno Validations:
|
description opcional |
descripción del entorno Validations:
|
prior_id requerido |
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:
|
Nombre del parámetro | Descripción |
---|---|
id requerido |
ID del entorno Validations:
|
organization_id opcional |
nombre de la organización Validations:
|
new_name opcional |
nuevo nombre para el entorno Validations:
|
description opcional |
descripción del entorno Validations:
|
Nombre del parámetro | Descripción |
---|---|
id requerido |
ID del entorno Validations:
|
organization_id opcional |
identificador de la organización Validations:
|
Nombre del parámetro | Descripción |
---|---|
organization_id opcional |
identificador de la organización Validations:
|
permission_type opcional |
The associated permission type. One of (readable | promotable) Default: readable Validations:
|