FruxonDocs
IntegrationsSkills

Lists importable markdown files from a GitHub repository.

Walks the given repo via the GitHub API and returns paths to every `.md` file found, so a UI can let the user pick which one to import. The provided token is used only for this request and is not persisted. Pair with `POST SkillGenerateFromGitHub` to fetch one of the listed files and produce a draft skill definition.

POST
/v1/tenants/{tenant}/skills:importGithub
AuthorizationBearer <token>

JWT Authorization header using the Bearer scheme. Enter 'Bearer' [space] and then your token.

In: header

Path Parameters

tenant*string

The tenant identifier

The GitHub repository details.

owner*string

GitHub repository owner (user or organization name).

Length1 <= length
repo*string

GitHub repository name.

Length1 <= length
token*string

GitHub personal access token with repo read permissions.

Length1 <= length
[key: string]?never

Response Body

curl -X POST "https://api.fruxon.com/v1/tenants/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