Ir al contenido

Read a deployment's build log

GET/api/v1/deploy/deployments/{id}

With follow=1 the log is streamed as text/plain until the build ends.

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
tailconsultainteger
  • mín.: 1
  • máx.: 5000
offsetconsultainteger
  • defecto: 0
  • mín.: 0
followconsultastring
  • uno de: 1, true, 0, false

Petición de ejemplo

curl -X GET "https://polaris.example.com/api/v1/deploy/deployments/{id}" \
  -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