ApiIntegration skills
Fetches a file from GitHub and drafts a skill for the integration from it.
The GitHub fetch and `generateFromMarkdown` in one call. Returns a draft for review and saves nothing.
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 file location and access 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 <= lengthfilePath*string
Path of the file in the repository, as returned by the :import-github endpoint.
Length
1 <= length[key: string]?never
Response Body
curl -X POST "https://api.fruxon.com/v1/tenants/string/integrations/string/skills:generateFromGithub" \ -H "Content-Type: application/json" \ -d '{ "owner": "string", "repo": "string", "token": "string", "filePath": "string" }'{
"id": "string",
"displayName": "string",
"description": "string",
"instructions": "string",
"tools": [
{
"integrationId": "string",
"id": "string"
}
],
"resources": [
{
"assetId": "string",
"description": "string",
"vectorized": false
}
]
}{
"type": "string",
"title": "string",
"status": 0,
"detail": "string",
"instance": "string",
"property1": null,
"property2": null
}Empty
Empty