返回 GitHub
將 Knoon AI 與 GitHub 連接以自動化 AI 工作流程。
Get repository file or directory content by path.
githubDefaultGetRepositoryContent
測試版
內部
權限
可選權限
沒有項目可顯示。
參數
| 名稱 | 類型 | 說明 | 必填 |
|---|---|---|---|
| repository | file | GitHub repository in owner/repo format. | 是的 |
| path | mustache | Optional file or directory path. Empty means repository root. | 否 |
| ref | mustache | Optional branch, tag, or commit SHA. | 否 |
| includeContent | boolean | Optional. If true and path is a file, include content. | 否 |
退貨
| 名稱 | 類型 | 說明 |
|---|---|---|
| result | object | Repository content summary. |