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
  • repo
Optionale Berechtigungen
Es gibt keine Elemente zum Anzeigen.
Parameter
NameTypBeschreibungErforderlich
repositoryfile GitHub repository in owner/repo format.Ja
pathmustache Optional file or directory path. Empty means repository root.Nein
refmustache Optional branch, tag, or commit SHA.Nein
includeContentboolean Optional. If true and path is a file, include content.Nein
Rückgaben
NameTypBeschreibung
resultobject Repository content summary.