Takaisin GitHub -kohtaan
Yhdistä Knoon AI kohteen GitHub kanssa automatisoidaksesi AI-työnkulut.
Get repository file or directory content by path.
githubDefaultGetRepositoryContent
BETA
Sisäinen
Oikeudet
Valinnaiset oikeudet
Näytettävää kohdetta ei ole.
Parametrit
| Nimi | Tyyppi | Kuvaus | Pakollinen |
|---|---|---|---|
| repository | file | GitHub repository in owner/repo format. | Kyllä |
| path | mustache | Optional file or directory path. Empty means repository root. | Ei |
| ref | mustache | Optional branch, tag, or commit SHA. | Ei |
| includeContent | boolean | Optional. If true and path is a file, include content. | Ei |
Palautukset
| Nimi | Tyyppi | Kuvaus |
|---|---|---|
| result | object | Repository content summary. |