Stream package change events (SSE)
Opens a Server-Sent Events (SSE) stream of file-change events for the package, used by in-package HTML data apps (via the publisher.js runtime) to live-reload when their sources are edited.
This is a long-lived text/event-stream connection, not a JSON
endpoint, and is therefore not surfaced through the generated API
clients — consume it with an EventSource. The stream emits:
event: hello(data: connected) once on connect.event: mode(data: enabled|disabled) reporting whether watch mode is currently active for the environment. Whendisabled, nochangedevents will follow until watch mode is started.event: changed(data: changed) each time a watched file in the package changes.- periodic
: heartbeatcomments to keep idle proxies from closing the connection.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
Name of the environment Standard identifier pattern for resource names
^[a-zA-Z0-9_-]+$Name of the package Standard identifier pattern for resource names
^[a-zA-Z0-9_-]+$Response
An open Server-Sent Events stream of change events
SSE event stream (see endpoint description for event types)