skillhub/document/i18n/en/docusaurus-plugin-content-docs/current/04-developer/api/authenticated.md
tww 19329480c8 feat(docs): complete Docusaurus website with bilingual support
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
2026-03-15 18:36:59 +08:00

1.6 KiB

title sidebar_position description
Authenticated APIs 3 APIs requiring authentication

Authenticated APIs

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