file

Stream tail of file

Changed on

Streams 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/*
  • Auth
    none declared

Query parameters

linesinteger

Number of existing lines to seed into the stream, from 1 to 500, default 50

Response

Success

Changes