Deploy an uploaded image
POST
/api/v1/deploy/services/{id}/imageThe body is a gzipped image archive of at most 16 GB.
En esta página
Parámetros
| Campo | En | Tipo | Descripción |
|---|---|---|---|
idobligatorio | ruta | string | A service id, or project/service, or project/environment/service |
format | consulta | string | text answers in plain text instead of JSON
|
x-polaris-commit | cabecera | string | The commit the image was built from |
x-polaris-message | cabecera | string | The commit message, URI-encoded |
Petición de ejemplo
curl -X POST "https://polaris.example.com/api/v1/deploy/services/{id}/image" \
-H "Authorization: Bearer $POLARIS_API_KEY"Respuestas
| Estado | Qué es |
|---|---|
202 | Accepted |
También puede dar los errores comunes 400, 401, 403, 404, 429. Ver errores comunes