Tillbaka till GitHub
Anslut Knoon AI med GitHub för att automatisera AI-flöden.
Get repository file or directory content by path.
githubDefaultGetRepositoryContent
BETA
Intern
Behörigheter
Valfria behörigheter
Det finns inga objekt att visa.
Parametrar
| Namn | Typ | Beskrivning | Obligatoriskt |
|---|---|---|---|
| repository | file | GitHub repository in owner/repo format. | Ja |
| path | mustache | Optional file or directory path. Empty means repository root. | Nej |
| ref | mustache | Optional branch, tag, or commit SHA. | Nej |
| includeContent | boolean | Optional. If true and path is a file, include content. | Nej |
Returer
| Namn | Typ | Beskrivning |
|---|---|---|
| result | object | Repository content summary. |