mirror of
https://github.com/iflytek/skillhub.git
synced 2026-08-27 11:14:59 +00:00
Add complete bilingual (Chinese/English) documentation website: - Chinese documentation in docs/ - English documentation in i18n/en/ - iFlytek blue theme customization - Role-based navigation structure - ToB enterprise value-focused content
1.6 KiB
1.6 KiB
| title | sidebar_position | description |
|---|---|---|
| Authenticated APIs | 3 | APIs requiring authentication |
Authenticated APIs
Authentication Related
Get Current User
GET /api/v1/auth/me
Logout
POST /api/v1/auth/logout
Skill Publishing
POST /api/v1/publish
Content-Type: multipart/form-data
file: <zip-file>
namespace: <namespace-slug>
Favorites
POST /api/v1/skills/{namespace}/{slug}/star
DELETE /api/v1/skills/{namespace}/{slug}/star
Ratings
POST /api/v1/skills/{namespace}/{slug}/rating
Content-Type: application/json
{
"score": 5
}
Tag Management
GET /api/v1/skills/{namespace}/{slug}/tags
PUT /api/v1/skills/{namespace}/{slug}/tags/{tagName}
DELETE /api/v1/skills/{namespace}/{slug}/tags/{tagName}
My Resources
GET /api/v1/me/stars
GET /api/v1/me/skills
Namespace Management
POST /api/v1/namespaces
PUT /api/v1/namespaces/{slug}
GET /api/v1/namespaces/{slug}/members
POST /api/v1/namespaces/{slug}/members
PUT /api/v1/namespaces/{slug}/members/{userId}/role
DELETE /api/v1/namespaces/{slug}/members/{userId}
Reviews
GET /api/v1/namespaces/{slug}/reviews
POST /api/v1/namespaces/{slug}/reviews/{id}/approve
POST /api/v1/namespaces/{slug}/reviews/{id}/reject
Promotion Requests
POST /api/v1/namespaces/{slug}/skills/{skillId}/promote
API Token
POST /api/v1/tokens
GET /api/v1/tokens
DELETE /api/v1/tokens/{id}
Next Steps
- CLI Compatibility Layer - ClawHub compatible endpoints