Search files
- GET
- /workspaces
- /:workspace
- /projects
- /:project_name
- /pipelines
- /:pipeline_id
- /files
- /search
Searches files in the pipeline filesystem by path and content filters
Request example
CURLcurl -X GET "https://api.buddy.works/workspaces/:workspace/projects/:project_name/pipelines/:pipeline_id/files/search" \ -H "Authorization: Bearer <YOUR-TOKEN>" \ -H "Content-Type: application/json"
EXAMPLE RESPONSE{ "files": [ { "path": "app/docs/report.txt", "matched_lines": [ { "line_number": 2, "line_text": "line with pattern Y" } ] } ] }
STATUS200 OK