Referência da API
fleet
6 endpoints nesta área. Cada um tem a sua própria página com os respetivos parâmetros, a respetiva resposta e um pedido que pode executar.
| Método | Caminho | O que faz | Permissão |
|---|---|---|---|
| POST | /v1/fleet/commands/{commandId}/result | Report how a claimed host command ended. | O seu próprio token |
| POST | /v1/fleet/drain | Take this host out of placement on graceful shutdown. | O seu próprio token |
| POST | /v1/fleet/heartbeat | Stamp fleet liveness, ship the host report, collect queued commands. | O seu próprio token |
| POST | /v1/fleet/node-manifests | A Node site's package.json or lockfile was written on the box. | O seu próprio token |
| POST | /v1/fleet/phish-watch | The box's upload watch graded freshly written site files as suspicious. | O seu próprio token |
| POST | /v1/fleet/register | Attach a booting agent to its declared fleet host. | O seu próprio token |