oCoreoCore Docs
API Reference

File Watcher

Watch file changes (WebSocket)

Opens a WebSocket connection to stream real-time file change events from the instance addon directory.

GET
/instances/{id}/files/watch

Authorization

Authorization<token>

JWT Bearer token (format: Bearer {token})

In: header

Path Parameters

idRequiredstring

Instance ID

curl -X GET "//api.ocore.dev/api/instances/<string>/files/watch" \
  -H "Authorization: <token>"

WebSocket upgrade

"string"

Was this page helpful?