Finds lines matching a query across the text files of a branch: each hit is a path, a 1-based line number and the line (
Changed onFinds lines matching a query across the text files of a branch: each hit is a path, a 1-based line number and the line (cut at 500 characters). Literal by default; regex: true takes a Postgres regular expression. Narrow with glob (sections/*.liquid, ** crosses folders). Runs under a 10 s limit: a search that passes it answers search_timeout, narrow it and try again. Paged by path and line.
Request
- Base URLhttps://app.magistry.io
- Auth
- HTTP bearer
- or OAuth 2Authorization codehttps://app.magistry.io/api/oauth/authorizeToken URLhttps://app.magistry.io/api/oauth/tokenScopestheme:read
Request body
What to find, 1 to 500 characters.
Read query as a regular expression (default false).
Match case exactly (default false).
live (the imported theme, default) or a working branch chat/<uuid> / api/<uuid>.
Only paths matching this glob.
The page.next_cursor of the previous page.
Page size, default 25.
Response
Tool result
Changes
- warning
added the new
method_not_allowedenum value to theerrorresponse property for the response status - warning
added the new
method_not_allowedenum value to theerrorresponse property for the response status - warning
added the new
method_not_allowedenum value to theerrorresponse property for the response status
11 more changes in this revision
- warning