Browser Filesystem

Watch a directory for changes

post/browsers/{id_or_name}/fs/watch

Request

  • Base URL
    https://api.onkernel.com
  • URL
    https://api.onkernel.com/browsers/{id_or_name}/fs/watch
  • Auth
    HTTP bearer

Path parameters

id_or_namestring required

Browser session ID or name

Request body

pathstring required

Directory to watch.

recursiveboolean

Whether to watch recursively.

Response

Watch started successfully

watch_idstring

Unique identifier for the directory watch

Changes

No recorded changes to this operation across all 76 revisions of this API.