OKRock.ru API
REST API for the Oblachny Kray rock band website
Base URL
https://localhost:3012/api Response Format
application/json; charset=utf-8 Authentication
Most endpoints are public. Write operations require JWT Bearer token.
Rate Limiting
300 requests / 15 min per IP. Headers: RateLimit-Limit, RateLimit-Remaining.
Response Envelope
All API responses follow a consistent envelope format:
{
"success": true,
"data": [ ... ], // Payload (array or object)
"pagination": { // Only for paginated endpoints
"page": 1,
"limit": 10,
"total": 92,
"totalPages": 10
},
"meta": { ... } // Optional metadata
}
Error responses:
{
"success": false,
"error": {
"message": "Article not found"
}
}