Authorization: Bearer ********************
X-Altan-Key: ********************
{
"repo_name": "string",
"query": "string",
"use_regex": true,
"case_sensitive": true,
"file_patterns": [
"*.*"
],
"include_line_context": true
}
curl --location --request POST 'https://api.altan.ai/interfaces/dev//files/search' \
--header 'Content-Type: application/json' \
--data-raw '{
"repo_name": "string",
"query": "string",
"use_regex": true,
"case_sensitive": true,
"file_patterns": [
"*.*"
],
"include_line_context": true
}'
{
"status": "string",
"results": [
{
"file_path": "string",
"total_matches": 0,
"matches": [
{
"line_number": 0,
"match_text": "string",
"line_text": "string"
}
]
}
],
"total_files_with_matches": 0,
"total_matches_overall": 0
}