# 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.
Nome parâmetro | Descrição |
---|---|
organization_id opcional |
identificador da organização Validations:
|
library opcional |
definir verdadediro se você desejar ver somente os ambientes de biblioteca Validations:
|
name opcional |
filstrar somente ambientes contendo este nome Validations:
|
search opcional |
Buscar faixa Validations:
|
page opcional |
Número de página, iniciando em 1 Validations:
|
per_page opcional |
Número de resultados por página para retornar Validations:
|
order opcional |
Classificar campo e ordem, ex. 'name DESC' Validations:
|
full_result opcional |
Se deve ou não exibir todos os resultados Validations:
|
sort opcional |
Versão Hash de param de “ordem” Validations:
|
sort[by] opcional |
Campo para classificar os resultados Validations:
|
sort[order] opcional |
Como encomendar os resultados classificados (por exemplo ASC para ascendente) Validations:
|
Nome parâmetro | Descrição |
---|---|
id requerido |
ID de ambiente Validations:
|
organization_id opcional |
ID da organização Validations:
|
Nome parâmetro | Descrição |
---|---|
organization_id requerido |
nome da organização Validations:
|
name requerido |
nome do ambiente Validations:
|
label opcional |
rotular o ambiente Validations:
|
description opcional |
descrição do ambiente 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:
|
Nome parâmetro | Descrição |
---|---|
id requerido |
ID de ambiente Validations:
|
organization_id opcional |
nome da organização Validations:
|
new_name opcional |
novo nome a ser fornecido ao ambiente Validations:
|
description opcional |
descrição do ambiente Validations:
|
Nome parâmetro | Descrição |
---|---|
id requerido |
ID de ambiente Validations:
|
organization_id opcional |
identificador da organização Validations:
|
Nome parâmetro | Descrição |
---|---|
organization_id opcional |
identificador da organização Validations:
|
permission_type opcional |
The associated permission type. One of (readable | promotable) Default: readable Validations:
|