Ir al contenido

List an environment's variables

GET/api/v1/deploy/environments/{id}/variables

Secret values are withheld.

Necesita una clave de API en la cabecera Authorization.

En esta página

Parámetros

CampoEnTipoDescripción
idobligatoriorutastring
  • formato: uuid
formatconsultastring
text answers in plain text instead of JSON
  • uno de: json, text

Petición de ejemplo

curl -X GET "https://polaris.example.com/api/v1/deploy/environments/{id}/variables" \
  -H "Authorization: Bearer $POLARIS_API_KEY"

Respuestas

EstadoQué es
200OK

También puede dar los errores comunes 400, 401, 403, 404, 429. Ver errores comunes