Source code
Search source files
Finds text across every source file and returns one entry per matching line with its file name, line, and column. Call this first to locate code, then read only the files it names with websiteSourceCode.files.read. pattern is literal text unless isRegex is set, and matching is line by line, so a pattern cannot span a newline. Narrow with nameGlob and type, ask for surrounding lines with contextLines, or set filesOnly for the cheapest orientation. Results are cursor-paginated over matches.
post/websiteSourceCode/files/search
Request
- Base URL: https://api.cactal.ai/v1
- URL: https://api.cactal.ai/v1/websiteSourceCode/files/search
- Auth: HTTP bearer
Request body
Response
A page of matches for the requested source version.
Changes
No recorded changes to this operation across all 1 revision of this API.