Version 1.0.0
Base URL: http://localhost:3003
Bearer Token (JWT) — Include in header: Authorization: Bearer <token>
Token expiry: 7 days (configurable)
/api/auth/register
Register a new user
Rate limit: 5 requests per 15 minutes
/api/auth/login
Login user
Rate limit: 5 requests per 15 minutes
/api/auth/me
Get current user (requires auth)
/api/register
Register content for provenance tracking
Rate limit: 20 requests per hour
/api/verify
Verify content authenticity
Rate limit: 50 requests per hour
/api/batch-verify
Verify multiple files at once
Rate limit: 20 requests per hour
/api/status/:contentHash
Get content status by hash
/health
Health check endpoint
/ready
Dependency-aware readiness endpoint
/api/statistics
Get system statistics
/api/recent
Get recent registrations
/api/metadata
Get content metadata
/api/ipfs/upload
Upload content to IPFS
| Code | Description |
|---|---|
| 400 | Bad Request — Invalid input |
| 401 | Unauthorized — Invalid or missing token |
| 403 | Forbidden — Insufficient permissions |
| 404 | Not Found — Resource not found |
| 409 | Conflict — Resource already exists |
| 429 | Too Many Requests — Rate limit exceeded |
| 500 | Internal Server Error |
| 503 | Service Unavailable |