file
Stream tail of file
Changed onStreams the tail of a log file using Server-Sent Events (SSE). Only works for files in the logs directory.
get/api/file/{DirName}/tailfollow/*
Request
- Base URL/ (relative, and the document was published on a file host, not at the API’s origin)
- URL/api/file/{DirName}/tailfollow/*
- Authnone declared
Query parameters
linesinteger
Number of existing lines to seed into the stream, from 1 to 500, default 50
Response
Success
Changes
- info
endpoint added
- info
- breaking
api path removed without deprecation
- breaking