filesystem

Read file

Stream one file relative to the requested location with ETag, Last-Modified, and single-range HTTP Range support (206 Partial Content, 416 Range Not Satisfiable, and 304 Not Modified; multi-range and malformed Range headers fall back to 200).

get/api/fs/read/*

Request

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

Query parameters

directorystring nullable

Response

Success

Changes

No recorded changes to this operation across all 1 revision of this API.