filesystem

Watch one file relative to the requested location for 24 hours, publishing filesystem.changed on that location when it changes. Watching an already watched file resets its expiry. Paths follow read confinement. Experimental: may change without compatibility guarantees.

post/api/experimental/fs/watch

Request

  • Base URL
    https://opencode.ai (the document declares no server; this is the origin it was published from)
  • URL
    https://opencode.ai/api/experimental/fs/watch
  • Auth
    none required

Query parameters

directorystring nullable

Request body

pathstring required

A file path relative to the requested location.

Response

<No Content>

Changes