Classify a GitHub resource

Read-only classifier for GitHub resources. Uses GitHub API only, blocks unsafe hosts, redirects, traversal, symlinks and oversized responses. Upstream listing is allowed; use /imports/resource-package or hh publish-resource for explicit hosted package uploads when license and ownership allow it.

post/imports/github-resource

Request

  • Base URL: https://superskill.sh/api
  • URL: https://superskill.sh/api/imports/github-resource
  • Auth: none declared

Request body

urlstring required
pathstring
action'classify'

Response

GitHub resource classification

urlstring required
ownerstring required
repostring required
pathstring required
classificationstring required
detectedFilesstring[] required
unsafeFilesstring[] required
licenseStatusstring required
licenseNamestring
recommendedActionstring required
conversionBlockedstring
archiveFetchfalse required

Changes

No recorded changes to this operation across all 1 revision of this API.