fleet

POST /v1/fleet/node-manifests

A Node site's package.json or lockfile was written on the box.

All fleet endpoints

All developer docs →

Zinn®, our Viking, hammering at his anvil beside an API endpoint sending events to several listeners.

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

NameTypeRequiredWhat it is
app_rootsstring[]Yes—

Response

NameTypeRequiredWhat it is
acceptedintegerYes—
signalledstring[]Yes—

Errors this endpoint can return

401 · 422