Quay lại GitHub
Kết nối Knoon AI với GitHub để tự động hóa các quy trình làm việc AI.
Get repository file or directory content by path.
githubDefaultGetRepositoryContent
BẢN THỬ NGHIỆM
Nội bộ
Quyền hạn
Quyền hạn tùy chọn
Không có mục nào để hiển thị.
Tham số
| Tên | Loại | Mô tả | Bắt buộc |
|---|---|---|---|
| repository | file | GitHub repository in owner/repo format. | Có |
| path | mustache | Optional file or directory path. Empty means repository root. | Không |
| ref | mustache | Optional branch, tag, or commit SHA. | Không |
| includeContent | boolean | Optional. If true and path is a file, include content. | Không |
Trả về
| Tên | Loại | Mô tả |
|---|---|---|
| result | object | Repository content summary. |