Zurück zu GitHub
Verbinde Knoon AI mit GitHub, um KI-Workflows zu automatisieren.
Get repository file or directory content by path.
githubDefaultGetRepositoryContent
Beta
Intern
Berechtigungen
Optionale Berechtigungen
Es gibt keine Elemente zum Anzeigen.
Parameter
| Name | Typ | Beschreibung | Erforderlich |
|---|---|---|---|
| repository | file | GitHub repository in owner/repo format. | Ja |
| path | mustache | Optional file or directory path. Empty means repository root. | Nein |
| ref | mustache | Optional branch, tag, or commit SHA. | Nein |
| includeContent | boolean | Optional. If true and path is a file, include content. | Nein |
Rückgaben
| Name | Typ | Beschreibung |
|---|---|---|
| result | object | Repository content summary. |