Browser

Read one stylesheet's or script's text

The browser_source_get tool's mirror. Names the source by id or url and answers a window of its lines, or of one original file from its source map. Read-only.

post/v1/browser/source

Request

  • Base URL: http://localhost:9998
  • URL: http://localhost:9998/v1/browser/source
  • Auth: HTTP bearer

Request body

idstring

A source id from /v1/browser/sources

urlstring

A source URL (alternative to id)

startLineinteger
lineCountinteger
originalstring

An original file from the source's source map

Response

The lines

idstring required
kindstring required
totalLinesinteger required
startLineinteger required
endLineinteger required
textstring required
truncatedboolean required

Changes

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