Documentation home pagelight logodark logo
  • Changelog
  • Blaxel Console
  • Blaxel Console
filesystem
Stream file modification events in a directory
Documentation
Templates & Cookbooks
API Reference
Sandbox API Reference 🆕
SDK Reference
CLI Reference
  • Changelog
  • filesystem
    • GET
      Get file or directory information
    • PUT
      Create or update file or directory
    • DEL
      Delete file or directory
    • GET
      Stream file modification events in a directory
    • GET
      Stream file modification events in a directory via WebSocket
    network
    • POST
      Start monitoring ports for a process
    • DEL
      Stop monitoring ports for a process
    • GET
      Get open ports for a process
    process
    • GET
      List all processes
    • POST
      Execute a command
    • GET
      Get process by identifier
    • DEL
      Stop a process
    • DEL
      Kill a process
    • GET
      Get process logs
    • GET
      Stream process logs in real time
    • GET
      Stream process logs in real time via WebSocket
    filesystem

    Stream file modification events in a directory

    Streams the path of modified files (one per line) in the given directory. Closes when the client disconnects.

    GET
    /
    watch
    /
    filesystem
    /
    {path}
    "<string>"

    Path Parameters

    ​
    path
    string
    required

    Directory path to watch

    Response

    200
    text/plain
    Stream of modified file paths, one per line

    The response is of type string.

    Was this page helpful?

    Delete file or directoryStream file modification events in a directory via WebSocket
    Powered by Mintlify
    "<string>"