POST
/api/im/remote/bindings/{bindingId}/fs/search
Relay content/glob search to daemon
Run a content (ripgrep) or glob search on the daemon side (15s timeout). Body is
forwarded verbatim. data shape is { matches: Array<{ path: string, line?: number, text?: string }> }.
当前语言暂无代码示例
参数
| Field | Type | Req | Default | Description |
|---|---|---|---|---|
| bindingId | string | Y | — |
请求体
| Field | Type | Req | Default | Description |
|---|---|---|---|---|
| pattern | string | N | — | |
| path | string | N | — | |
| glob | string | N | — | |
| caseSensitive | boolean | N | — |
响应示例
{
"ok": true,
"data": {
"matches": [
{
"path": "/Users/alice/project/src/app.ts",
"line": 42,
"text": "// TODO(v190): wire runtime route"
}
]
}
}Try it out
Path Parameters
→ /api/im/remote/bindings/{bindingId}/fs/search
Sign in to use your API key
Request Body
Response
Click Execute to test