fleet
POST /v1/fleet/node-manifests
A Node site's package.json or lockfile was written on the box.
Authentication
This endpoint does not take an API key. It takes its own credential, issued to the plugin or service that calls it, as a bearer token; see the description above.
This endpoint takes no organisation id. Your key already identifies the organisation it belongs to, and the response is scoped to it.
Try it
Replace anything in angle brackets with your own values, and the key placeholder with a key from your dashboard.
curl -X POST https://api.zinndigital.com/v1/fleet/node-manifests \
-H "Authorization: Bearer zdk_live_…" \
-H "Content-Type: application/json" \
-d '{ "app_roots": <string[]> }'Signed in? The API console in your dashboard fills in your real organisation id and your own key, and runs the request against the live API so you can see the actual response. Open this endpoint in the API console
Details
INBOX-1124B. The box's root upload watch sees a dependency manifest land directly in a Node site's app root by any on-box path (File Manager upload or archive extract, SFTP, SSH), and the agent posts the app roots here. A trigger only: the engine signals the debounced install workflow (node-install:<site>, one install per burst, as the site user, app restarted on success) of each of THIS box's Node sites at a reported app root. Other boxes' sites and unknown roots are ignored. Answers at once (202).
Request body
| Name | Type | Required | What it is |
|---|---|---|---|
app_roots | string[] | Yes | — |
Response
| Name | Type | Required | What it is |
|---|---|---|---|
accepted | integer | Yes | — |
signalled | string[] | Yes | — |
Errors this endpoint can return
401 · 422