ApiIntegration skills
Lists importable markdown files from a GitHub repository.
Walks the given repo via the GitHub API and returns the path of every `.md` file, so a UI can let the user pick one. The token is used only for this request and is not stored. Pair with `generateFromGithub`.
Authorization
Bearer AuthorizationBearer <token>
JWT Authorization header using the Bearer scheme. Enter 'Bearer' [space] and then your token.
In: header
Path Parameters
integration*string
The integration the skill will belong to.
tenant*string
The tenant identifier
The GitHub repository details.
owner*string
GitHub repository owner (user or organization name).
Length
1 <= lengthrepo*string
GitHub repository name.
Length
1 <= lengthtoken*string
GitHub personal access token with repo read permissions.
Length
1 <= length[key: string]?never
Response Body
curl -X POST "https://api.fruxon.com/v1/tenants/string/integrations/string/skills:importGithub" \ -H "Content-Type: application/json" \ -d '{ "owner": "string", "repo": "string", "token": "string" }'[
{
"path": "string",
"name": "string",
"size": 0
}
]{
"type": "string",
"title": "string",
"status": 0,
"detail": "string",
"instance": "string",
"property1": null,
"property2": null
}Empty
Empty