API Collection
Ankiren Auth API
Authentication and Personal Access Tokens API
Production
https://ankiren.comStaginghttps://staging.ankiren.comUAThttps://uat.ankiren.comBASEhttps://ankiren.com
Overview
4 endpoint trong 2 nhóm · OpenAPI 3.0.3 · phiên bản 1.0.0 · spec tại docs/api/auth-api.yaml.
Authentication1 endpoint
User registration and login
Personal Access Tokens3 endpoint
API token management
Authentication
Chấp nhận bất kỳ scheme nào dưới đây.
- bearerAuthhttp · bearer
Personal Access Token (ank_xxx)
- cookieAuthapiKey · cookieCookie phiên
next-auth.session-tokentrên miền.ankiren.com.
cURL
curl 'https://ankiren.com/api/register' \ -H 'Authorization: Bearer <token>'
Topics
Personal Access Tokens
API token management
- GETList my tokens
/api/me/tokens - POSTCreate new token
/api/me/tokens - DELETERevoke token
/api/me/tokens/{id}