Tài liệu API
API có phiên bản, phân trang bằng cursor và khóa có phạm vi quyền.
OpenAPI 3.1 · JSONKhóa API
Khóa bí mật chỉ hiển thị một lần. Hãy lưu ở nơi an toàn.
curl -H 'Authorization: Bearer YOUR_API_KEY' \ 'https://cve.nextvisions.ai/api/v1/cves?lang=vi&limit=25'
Phạm vi quyền
| Endpoint | Phạm vi quyền |
|---|---|
GET /api/v1/cves | search:read |
GET /api/v1/cves/{id} | cves:read |
GET /api/v1/changes?cursor=... | changes:read |
GET /api/v1/workspaces/{id}/follows | follows:read |
POST /api/v1/workspaces/{id}/follows | follows:write |
GET /api/v1/me/notifications | notifications:read |
HTTP 429: hết hạn mức. HTTP 410: cursor hết thời gian lưu, cần đồng bộ snapshot mới. API quản lý khóa yêu cầu phiên đăng nhập.